Prior to her birth, her aging father Henry had recognized his nephew, Count Baldwin V, Count of Hainaut as his heir presumptive.
However, the 72-year-old count fathered a daughter, Ermesinde, who displaced Baldwin as heir presumptive.

Upon Henry's death in 1197, a war of succession inevitably took place.
At its end, it was decided that Count Henry's fiefs would be split: Baldwin would have Namur, Ermesinde would have Durbuy and La Roche, and Luxembourg would revert to their common liege, the Holy Roman Emperor.
Emperor Henry VI then gave the fief to his brother Otto I, Count of Burgundy.

Ermesinde was initially betrothed to Henry II of Champagne, but the engagement was cancelled in 1189.
Instead her first husband was Theobald I of Bar.
He successfully negotiated with Philip of Namur and his brother Baldwin for renunciation of Luxembourg, thus making Theobald and Ermesinde the Count and Countess of Luxembourg.

When Theobald died in 1214, Ermesinde married Waleran III, Count of Limburg (1180–1226), who would rule as the  Count of Luxembourg.
In 1223 Ermesinde and Waleran pressed their claim to Namur against Margrave Philip II, but were ultimately unsuccessful.

After Waleran's death, Ermesinde ruled Luxembourg alone for two decades.
She proved to be an effective administrator, granting charters of freedom to several towns and increasing the prosperity of her country.
Prior to her birth, her aging father Henry had recognized his nephew, Count Baldwin V, Count of Hainaut as his heir presumptive. However, the 72-year-old count fathered a daughter, Ermesinde, who displaced Baldwin as heir presumptive. 
Upon Henry's death in 1197, a war of succession inevitably took place. At its end, it was decided that Count Henry's fiefs would be split: Baldwin would have Namur, Ermesinde would have Durbuy and La Roche, and Luxembourg would revert to their common liege, the Holy Roman Emperor. Emperor Henry VI then gave the fief to his brother Otto I, Count of Burgundy.
Ermesinde was initially betrothed to Henry II of Champagne, but the engagement was cancelled in 1189. Instead her first husband was Theobald I of Bar. He successfully negotiated with Philip of Namur and his brother Baldwin for renunciation of Luxembourg, thus making Theobald and Ermesinde the Count and Countess of Luxembourg. 
When Theobald died in 1214, Ermesinde married Waleran III, Count of Limburg (1180–1226), who would rule as the  Count of Luxembourg. In 1223 Ermesinde and Waleran pressed their claim to Namur against Margrave Philip II, but were ultimately unsuccessful.
After Waleran's death, Ermesinde ruled Luxembourg alone for two decades. She proved to be an effective administrator, granting charters of freedom to several towns and increasing the prosperity of her country.
Ermesinde, Countess of Luxembourg