No sooner was his understanding with Armagnac completed than Charles strove to secure the support of northern as well as of southern feudalism against Edward. He offered his brother, Philip of Burgundy, to Margaret, along with the restoration of the districts of French Flanders, which he still held. In June, 1369, the marriage took place. Edmund of Cambridge lost his last chance of the great heiress, and Charles V. bought off the enmity of the Count of Flanders at the price of that union of Burgundy and Flanders which, in the next century, was to make the descendants of Philip and Margaret the most formidable opponents of the French monarchy. For the moment, however, Charles gained little. Flemish ships, indeed, fought against the English at sea, notably in Bourgneuf Bay in 1371, but next year Louis made peace with them. Despite his daughter’s marriage, the Count of Flanders still showed that his sympathies were with England. The other princes of the Netherlands were much more decidedly on the French side than the Count of Flanders. Margaret of Hainault, Queen Philippa’s sister, had, after the death of her husband the Emperor Louis of Bavaria, in 1347 fought with her son William for the possession of her three counties of Hainault, Holland, and Zealand, to which Philippa also had pretensions, naturally upheld by her husband. William obtained such advantages over his mother that Margaret was obliged to invoke the assistance of her brother-in-law. Eager to regain his influence in the Netherlands, Edward willingly agreed to be arbiter between Margaret and her son, and at his suggestion the disputed lands were divided between them. William was married to Maud of Lancaster, Duke Henry’s elder daughter, and thus secured to the English alliance. On Margaret’s death William inherited all the three counties: but Maud died, and William became insane, whereupon his brother and heir invoked the support of the Emperor Charles IV., and was duly established in his fiefs. The claims of Philippa were ignored, and the Lancaster marriage with the lord of Holland, like the projected union of Edmund with the heiress of Flanders, failed to fulfil Edward’s hopes.