┌─Nicolas of Avesnes
┌─Jacques of Avesnes
│ └─Mathilde de la Roche ⇒
┌─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