┌─Jacques of Avesnes ⇒
┌─Bouchard IV of Avesnes
│ └─Ameline of Guise
┌─John I of Avesnes
│ │ ┌─Baldwin IX Count of Flanders and Hainaut
│ └─Margaret II Countess of Flanders
│ └─Marie of Champagne
┌─John II of Avesnes Count of Hainaut
│ └─Adelaide of Holland
William I Count of Hainaut
│ ┌─Walram III of Limbourg
│ ┌─Henry V of Luxembourg
│ │ │ ┌─Heinrich of Namur ⇒
│ │ └─Ermesinde of Luxembourg
│ │ └─Agnes of Gelders ⇒
└─Philippa of Luxembourg
└─Margaret of Bar