In 1363, John II of France gave his son, Philip the Bold, the duchy of Burgundy. After marrying Margaret of Flanders in 1369, the couple inherited the Confederations of Flanders and Artois in 1383–84. Philip acquired land in the Netherlands, becoming a powerful ruler in his own right, ‘sharing power’ with his brother, Charles V of France. Philip the Good, his grandson, became duke of Burgundy in 1419. After settling an extended feud with King Charles VII of France, he was given the vassal states of Boulogne, Picardy and Vermandois. He seized Zeeland, Holland, the northwest Netherlands and Hainaut in 1428–33. His son, Charles the Bold, took over in 1467 and allied with the English against France. He fought over disputed territories in Lorraine, seizing it in 1475, and there were further territorial disputes with the Swiss and Austrians. After his death at Nancy in 1477, France annexed his duchy.