 John I of Avesnes quickly apprehended that his mother did not intend to give him the government of Hainault as she had that of Flanders to her other sons.John I of Avesnes revolted against his mother and attacked his half-brother Guy of Dampierre, who had just become count of Flanders.John I of Avesnes persuaded the German anti-king William of Holland to seize Hainault and Flemish territory within the empire.