With the help of her own allies and rebels among the indigenous African allies of Carthage, Rome won the First Punic War after 23 years. In the end it became the dominant naval power of the Mediterranean. To get terms for peace, the Carthaginians had to pay a large amount of money (in silver), and give up a number of islands in the Mediterranean. They kept Sardinia and Corsica.