Background
He was the son of William II of Dampierre and Margaret II of Flanders.
He was the son of William II of Dampierre and Margaret II of Flanders.
Margaret favoured William and declared him her heir. In 1246, Louis IX of France intervened to arbitrate the conflict and declared Flanders to William and Hainault to John I of Avesnes. Margaret officially invested William as count in 1247.
In November of that year, William married Beatrice of Brabant, daughter of Henry II, Duke of Brabant and Marie of Hohenstaufen.
They had no children. Meanwhile, the fight continued over Namur between the Dampierres and the Avesnes.
On 19 May 1250, peace was signed. On 6 June the next year, William was assassinated at a tournament in Trazegnies by a group of knights financed by Avesnes.
The war began anew with Guy, William"s younger brother, taking up Flanders and the Dampierre claim.