 In addition, the Prelate of Saint Lucia was awarded the honor of serving as Major chaplain of the kingdom and the town was entitled to 11 seats in Parliament.Frederick II of Aragon fortified the town with walls and renovated its castle.He emitted a proclamation calling on the population of the plain, which was subject to recurrent raids by pirates, to resettle inside the town walls.