Perdiccas appointed Ptolemy, one of Alexander's closest companions, to be satrap of Egypt. Ptolemy ruled Egypt from 323 BC, nominally in the name of the joint kings Philip III and Alexander IV.