House of Habsburg
A treaty was made in Vienna in 1515 between the king of Poland and duke of Lithuania from the Jagiellon dynasty and Maximilian I, Holy Roman Emperor, the duke of Austria from the Habsburg family. It stated that if the Jagiellon kings of Bohemia and Hungary died without a male heir, Maximilian and his heirs would take over the territory.