[3] Emperor Louis IV gave his support to his wife Margaret because he was reportedly worried that the domains of her late brother would otherwise be lost to the empire.
In Holland and Zeeland, there were doubts as to whether female succession was legal, and while her gender was not a problem in Hainaut, there where still the question of her sister's claims upon the domain.
[4] Margaret's sisters, including Philippa of Hainault who was Queen consort of King Edward III of England, disavowed their hereditary claims.
Her eldest son Louis VI released Holland and Hainaut for his brothers William and Albert in 1349 since he expected the Polish crown by his marriage with Cunigunde of Poland.
Edward III shortly afterwards changed sides and in 1354, Margaret saw herself compelled to come to an understanding with her son: he being recognized as count of Holland and Zeeland, and she being secured as ruling countess of Hainaut in her lifetime.
[7] Margaret ruled Hainaut for two more years, and died at Le Quesnoy Castle of infectious tuberculosis 23 June 1356, leaving William in possession of the entire Holland-Hainaut inheritance.