Prior to her birth, Ermesinde's aging father, Count
Henry IV of Luxembourg, had recognized his nephew Count
Baldwin V of Hainaut as his
heir presumptive. However, the 74-year-old count reunited with his estranged wife, Agnes of Guelders, and fathered a daughter, Ermesinde, who displaced Baldwin as heir presumptive. Upon Henry's death in 1196, a war of succession took place. At its end, it was decided that 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,
Emperor Henry VI, who then gave it to his brother
Otto. ==Dynastic connections==