The Ptolemaic army was the army of the Ptolemaic Macedonian kings that ruled Egypt from 305 to 30 BC. Like most of the other armies of the Diadochi, it was very much Macedonian in style, with the use of the long pike (sarissa) in a deep phalanx formation. Despite the strength of the Ptolemaic army, evinced in 217 BC with the victory over the Seleucids at the Battle of Raphia, the Ptolemaic kingdom itself fell into decline and by the time of Julius Caesar, it was but a mere client-kingdom of the Roman Republic. The army by the time of Caesar’s campaigns in the eastern Mediterranean was a mere shadow of its former self: generally, a highly disorganized assemblage of mercenaries and other foreign troops.
Ptolemy I was a general in the army of Alexander the Great and after Alexander’s death had taken over the province of Egypt as a satrap (local governor). Along with the other successors to Alexander he did not hold the title of king until 305, but was still an important player in the affairs of the Macedonian Empire in the east. In 312 BC at Gaza, Ptolemy, who was assisting the fugitive satrap of Babylonia, Seleucus I, came up against the forces if Antigonus I who was seen as a major threat to the stability of the empire due to his strength and power. Ptolemy had a force of 18,000 infantry and 4,000 cavalry, these being a mixture of Macedonians, mercenaries, and native Egyptians. His forces were larger than those of Antigonus and his son, Demetrius Poliorketes. In the battle for Gaza, Antigonus’ cavalry, commanded by Demetrius, were initially successful but forced to retreat after Ptolemy out-flanked them. The battle was a victory for Ptolemy who soon secured Syria for himself and placed Seleucus in Babylonia to govern the eastern provinces of the empire. By 305 Ptolemy had taken the title of king, along with the other most powerful generals, including Cassander, Seleucus, and Antigonus. In 301 BC, the threat of Antigonus was finally ended with his death at the Battle of Ipsus. But despite this, the rivalry between the Ptolemies and the Seleucids for Syria would cause numerous wars in the future. The army under Ptolemy I was most likely composed of small Macedonian and mercenary garrisons left in Egypt by Alexander.