The rivalry between Pisa and Republic of Genoa intensified in the 13th century and resulted in the naval Battle of Meloria (1284), fought right in front of the Pisan port, which marked the beginning of the decline of the power of the city, with the renunciation of any claim on Corsica and with the sale of part of Sardinia to Genoa in 1299.