He lost much of Ribagorza, including Roda and Montpedrós, to Muhammad al-Tawil of Huesca in 907 and thereafter ruled mainly just Pallars, which had always been his political base.