 By 1404, it was emerging as the main town of the region and was organised into seven Hermandades, military units aimed at retaining law and order.The procurators of these brotherhoods met once a month with the Corregidor to organise the town's affairs.In 1497, Prince John, son of Queen Isabella I of Castile and King Ferdinand II of Aragon met his affianced wife Margaret of Austria here, the meeting or marriage ceremony probably taking place in La Casa de las Princesas.