House of Valois-Burgundy
The main line of the House of Dampierre ended with Margaret III. The Dampierres, originally only counts of Flanders, had through a clever marriage policy managed to inherit the counties of Nevers (1280) and Rethel (1328). Through her grandmother, a daughter of King Philip V of France, the counties of Artois and Burgundy (the "Franche Comté") were added to this (1382). These lands were to provide the core of the dominions of the House of Valois-Burgundy, which were, together with the Duchy of Burgundy, to provide them with a power base to challenge the rule of their cousins, the Valois kings of France in the 15th century.