Its chief rival, located across the Mediterranean in northern Africa, was the city-state of Carthage. Originally a Phoenician colony, Carthage had become a powerful commercial empire. Rome defeated Carthage in three Punic (Phoenician) Wars and gained mastery of the western Mediterranean.