 Thus, when the Greeks under Agathocles (361–289 BC) of Sicily landed at Cape Bon and threatened Carthage (in 310 BC), there were Berbers under Ailymas who went over to the invading Greeks.Also, during the long Second Punic War (218–201 BC) with Rome (see below), the Berber King Masinissa (c. 240–148 BC) joined with the invading Roman general Scipio, resulting to the war-ending defeat of Carthage at Zama, despite the presence of their renowned general Hannibal; on the other hand, the Berber King Syphax (d. 202 BC) had supported Carthage.The Romans too read these cues, so that they cultivated their Berber alliances and, subsequently, favored the Berbers who advanced their interests following the Roman victory.