The Imperial fiefs of the former Burgundian Netherlands had been inherited by the Austrian House of Habsburg from the extinct House of Valois-Burgundy upon the death of Mary of Burgundy in 1482. The Seventeen Provinces formed the core of the Habsburg Netherlands which passed to the Spanish Habsburgs upon the abdication of Emperor Charles V in 1556. When part of the Netherlands separated to form the autonomous Dutch Republic in 1581, the remainder of the area stayed under Spanish rule until the War of the Spanish Succession.