The two cities ended up allies in the moments of Pyrrhus, who was a menace to both, but with Rome's hegemony in mainland Italy and the Carthaginian thalassocracy, these metropolitan areas turned the two main powers in the Western Mediterranean and their rivalry above the Mediterranean led to conflict.