Following the Aragonese conquest of the Sardinian territories under Pisan rule, which took place between 1323 and 1326, and then the long conflict between the Aragonese Kingdom and the Judicate of Arborea (1353–1420), the newborn Kingdom of Sardinia became one of the Associate States of the Crown of Aragon. The Aragonese repopulated the cities of Castel di Castro and Alghero with Spaniards, mainly Catalans. A local dialect of Catalan is still spoken by a minority of people in the city of Alghero.