Of the daughters of Philip V and Joan II of Burgundy, the elder two had surviving issue. Joan III, Countess of Burgundy (1308–1349), married Odo IV, Duke of Burgundy (1295–1350), uniting the Duchy and County of Burgundy. Her line became extinct with the death of her sole grandchild, Philip I, Duke of Burgundy (1346–1361), whose death also served to break the union between the Burgundys once more. Her sister, Margaret (1310–1382), married Louis I, Count of Flanders (1304–1346), and inherited the County of Burgundy after the death of Philip I; their granddaughter and heiress, Margaret III, Countess of Flanders (1350–1405), married the son of John II of France (1319–1364), Philip II, Duke of Burgundy (1342–1404), uniting the two domains once more.