Hannibal was a Carthaginian general who invaded Italy and nearly defeated the Roman Republic
Hannibal Barca was a general from Ancient Carthage, a powerful trading state in North Africa. During the Second Punic War (218–201 BC), he led an army across the Alps to attack the Roman Republic in its own territory. He stayed in Italy for 15 years and brought Rome closer to total defeat than any other enemy in its history.
Carthage and Rome were rivals for control of the western Mediterranean Sea. The Romans called the Carthaginians Poeni (meaning Phoenicians, the people who founded Carthage), which is why their wars are called the Punic Wars. After Rome defeated Carthage in the First Punic War and took its island territories, Hannibal's father, the general Hamilcar Barca, conquered much of Hispania (modern Spain and Portugal) to build a new base of wealth and soldiers.
When Hannibal took command in Hispania in 221 BC, war with Rome started again in 218 BC. Rome controlled the sea, so it expected to fight in Hispania and North Africa. Hannibal knew he could not defeat Rome on the water. Instead, he planned to invade Italy by land and persuade Rome's Italian allies to rebel, which would take away Rome's supply of soldiers.
In 218 BC, Hannibal marched out of Hispania with an army of North African and Iberian soldiers, plus 38 war elephants. His crossing of the Alps surprised the Romans, who thought the mountains were impossible for an army to cross in cold weather. Snow, rockslides, and attacks by mountain tribes killed roughly half of Hannibal's men and most of his elephants. However, he reached northern Italy with about 20,000 infantry and 6,000 cavalry, and quickly recruited local Celtic tribes who hated Rome.
Fact-checked against Hannibal on Wikipedia
Part of the War syllabus: War in Antiquity
See it on the timeline of War in Antiquity