 They would be the heirs to the Přemyslid dynasty in the Kingdom of Bohemia, succeeding the Kingdom of Hungary and contributing four Holy Roman Emperors until their own line of male heirs came to an end and the House of Habsburg got the pieces that the two Houses had originally agreed upon in the Treaty of Brünn in 1364.In 1443, the duchy passed to Duke Philip the Good of Burgundy of the French House of Valois, and, in 1477, by marriage to Archduke Maximilian I of Austria of the House of Habsburg.The Seventeen Provinces of the former Burgundian Netherlands were formed into an integral union by Holy Roman Emperor Charles V in the Pragmatic Sanction of 1549.