Ptolemy IV Philopator
In the Ptolemaic army the Graeco-Macedonian troops formed the phalanx. But Ptolemy IV Philopator and his ministers reformed the army in order to keep up manpower by allowing the native Egyptian warrior class, the Machimoi, into the phalanx. Up until that point the Machimoi had only performed auxiliary duties such as archery, skirmishing and so on. The Machmioi Epilektoi, or 'Picked Machimoi', first saw service at the battle of Raphia and from then on were featured in more important positions within the Ptolemaic army.