Hannibal occupied much of Italy for 15 years, but was unable to march on Rome. An enemy counter-invasion of North Africa forced him to return to Carthage, where he was decisively defeated by Scipio Africanus at the Battle of Zama. After the war, Hannibal successfully ran for the office of sufet.
Hope this helped!