Kingdom of Aragon
They became part of the medieval Kingdom of Aragon in 1105 during the Spanish Reconquista, as Muslim rule in the region was falling back.