William IV, Count of Toulouse

[2] William married twice, and produced two legitimate sons;[citation needed] neither, however, survived infancy, leaving daughter Philippa as his heiress.

As Toulouse had no precedent of female inheritance, this raised a question with regard to succession.

In 1088, when William departed for the Holy Land, he left his brother, Raymond of Saint-Gilles, to govern in his stead (and, it was later claimed, to succeed him).

Within five years, William was dead, and Raymond took power[a] – although, after Philippa married William IX of Aquitaine, they laid claim to Toulouse and fought, off and on, for years to try to reclaim it from Raymond and his children.

[3] He was the great-grandfather of Eleanor of Aquitaine, by his daughter's marriage to William IX of Aquitaine, and Eleanor's descendants continued to lay claim to Toulouse based on descent from William IV.