He used a Castilian army to remove the Muslim garrisons from the valley of the Isábena, but before his work of Reconquista could be completed, he was assassinated while trying to reestablish his family's rights in the Val d'Aran.
He spent his childhood in the household of his paternal grandmother, Garsenda of Fezensac, but at puberty was sent to the court of his cousin, Count Sancho García of Castile, the son of his father's sister Ava, in order to learn the art of war.
In 1006, another invasion of Ribagorza by Abd al-Malik forced Toda to find a husband in her kinsman Sunyer, count of neighbouring Pallars.
According to the Crónica, however, William and his Castilians were unable to liberate the Valle Magna, the Great Valley, of the lower stretch of the river Ésera.
[5] His role in the reestablishment of comital authority in lands conquered by the Córdobans was so significant that the monks of Santa María de Obarra in a document dated 6 August, probably from 1012, calculated it to be "the second year of Count William happily reigning, amen".
[5] According to the Crónica de Alaón, when William tried to reclaim it in the name of his father and grandfather, Raymond II, apparently claiming that it had reverted to his line with the death of Atto, the inhabitants of the valley assassinated him: This one [William Isarn] the men killed in Aran, [because he was] reclaiming that land, alleging that it had belonged to his father [Isarn] and his grandfather [Raymond II] and above all the bishop Atto, brother of Count Bernard.