The Antigonid Macedonian kings continued to expand and equip the navy. Cassander maintained a small fleet at Pydna, Demetrius I of Macedon had one at Pella, and Antigonus II Gonatas, while serving as a general for Demetrius in Greece, used the navy to secure the Macedonian holdings in Demetrias, Chalkis, Piraeus, and Corinth. The navy was considerably expanded during the Chremonidean War (267–261BC), allowing the Macedonian navy to defeat the Ptolemaic Egyptian navy at the 255BC Battle of Cos and 245BC Battle of Andros, and enabling Macedonian influence to spread over the Cyclades. AntigonusIII Doson used the Macedonian navy to invade Caria, while PhilipV sent 200 ships to fight in the Battle of Chios in 201BC. The Macedonian navy was reduced to a mere six vessels as agreed in the 197BC peace treaty that concluded the Second Macedonian War with the Roman Republic, although Perseus of Macedon quickly assembled some "lemboi" at the outbreak of the Third Macedonian War in 171BC.