Guy-Geoffroy was the youngest son of
William V of Aquitaine by his third wife
Agnes of Burgundy. He was the brother-in-law of
Henry III, Holy Roman Emperor who had married his sister,
Agnes de Poitou. He became Duke of Gascony in 1052 during his older brother William VII's rule. Gascony had come to Aquitanian rule through William V's marriage to Prisca (a.k.a. Brisce) of Gascony, the sister of Duke
Sans VI Guilhem of Gascony. William VIII was one of the leaders of the allied army called to help
Ramiro I of Aragon in the
Siege of Barbastro (1064). This expedition was the first campaign organized by the papacy, namely
Pope Alexander II, against a Muslim town and stronghold in the Emirate of Zaragoza, and the precursor of the later
Crusades movement. Aragon and its allies conquered the city, killed and enslaved its inhabitants and collected an important booty. However, Aragon lost the city again in the following years. During William VIII's rule, the alliance with the southern kingdoms of modern Spain was a political priority as shown by the marriage of all his daughters to Iberian kings. ==Marriage and children==