In the second decade of the 14th century the Crown of Aragon conquered Sardinia after a series of battles against the Pisans. During the siege of Castel di Castro (1324-1326), the Aragonese, led by Alfonso IV of Aragon, built a stronghold on a more southern hill, that of Bonaria.