In 204 BC Publius Cornelius Scipio, the son of the Scipio who had been wounded at Ticinus, invaded the Carthaginian homeland and defeated the Carthaginians in two major battles and won the allegiance of the Numidian kingdoms of North Africa. Hannibal and the remnants of his army were recalled from Italy to confront him. They met at the Battle of Zama in October 202BC and Hannibal was decisively defeated. As a consequence Carthage agreed a peace treaty which stripped it of most of its territory and power.