The Habsburgs lost the German/Roman kingship after Rudolph's death. In the 14th century, their focus was initially on the Kingdom of Bohemia. After Václav III’s death on , there were no male heirs remaining in the Přemyslid line. Habsburg scion Rudolph I was then elected but only lasted a year. The Bohemian kingship was an elected position, and the Habsburgs were only able to secure it on a hereditary basis much later in 1626, following their submission of the Czech lands during the Thirty Years' War. After 1307, subsequent Habsburg attempts to gain the Bohemian crown were frustrated first by Henry of Bohemia (a member of the House of Gorizia) and then by the House of Luxembourg.