Banu Qasi
In the year 918 Ordoño II of León and Sancho I of Pamplona invaded Viguera to clear out the Banu Qasi dynasty from the land. By 923, the area had been subdued and fortified. From 924 and until the year 972 the land around Viguera was ruled by Fortún Galíndez, who had the title of Duke of Viguera.