AS a result of the battle of zama, Carthage gave Spain to Rome
Actually, Carthage had a pretty solid change to defeat Rome if Hannibal wasn't betraying them. In the end, Carthage's soldiers in spain was massacred and it fell into the hand of Rome
hope this helps