It became part of the County of Aragon, but in the early 9th century was held for five years by Amrus ibn Yusuf, the governor of Zaragoza, being retaken after his death.
However, in the late 10th and early 11th century, a series of incursions from the south left it disorganized and depopulated, and for a time it again fell under Muslim control.
This was reversed by Sancho the Great of Pamplona, who reconquered the region in 1015, similarly extending his power into Ribagorza over the subsequent years.
Whatever hereditary claim might have existed was subsequently brought to Sancho through his wife Muniadona of Castile, heiress to the Ribagorza counts.
[3] Abizanda, Aínsa-Sobrarbe, Bárcabo, Bielsa, Boltaña, Broto, Fanlo, Fiscal, La Fueva, Gistaín, Labuerda, Laspuña, Palo, Plan, Puértolas, El Pueyo de Araguás, San Juan de Plan, Tella-Sin, Torla