Kingdom of Aragon
King Pedro I of Aragon (1070-1104) conquered Huesca on November 27, 1096, after defeating King Al-Musta'in II of Taifa of Zaragoza in the battle of Alcoraz, which was fought on November 18 of that year. In 1101 he took Barbastro and Sariñena, and took Tamarite de Litera in 1104. In this reign the Fuero de Infanzones was regulated.