In 1324, in alliance with the Kingdom of Arborea and following a military campaign that lasted a year or so, the Aragon Crown Prince Alfonso led an Aragonese army that occupied the Pisan territories of Cagliari and Gallura along with the allied city of Sassari, naming them "The Kingdom of Sardinia and Corsica". The kingdom was to remain a dominion of the Crown of Aragon (under the Kings of Spain from XVI century) until the Peace of Utrecht.