The Second Punic War was the second of three wars fought between Carthage and Rome, the two main powers of the western Mediterranean in the 3rd century BC.