Conflicts fought between Rome and Macedonia in the 3rd and 2nd centuries bc. In the first war (211–205) Philip V was opposed by an alliance of Rome, Aetolia, and Pergamum, but with Rome also deeply involved in the second of the Punic wars he was able to force Aetolia to accept terms, and then to agree favourable ones with Rome itself. But war broke out again (200) and this time Philip was defeated decisively at Cynoscephalae (197). Philip’s son Perseus came to the throne in 179, and set about winning influence and friends in Greece. This caused Roman suspicion, the outbreak of a third war, and another Roman victory, this time at Pydna in 168. Macedonia was divided into four republics. In 149–148 Andriscus, claiming to be a son of Perseus, attempted to set himself up as king but was defeated and Macedonia became a Roman province.