 The most significant episode was the signature, in 1452, of the nuptial agreement between Ferdinand II of Aragon and Isabella I of Castile (the Spanish Catholic Monarchs).In 1702, the town got the title of city from the king Philip V, for which the townspeople thanked the king.The king bestowed this title because in a small way during the war, and then more strongly after the war, the local people had demonstrated support for the king's politics.