In 1440 Władysław III of the Jagiellon dynasty assumed the Hungarian throne and for 4 years he was king of both Poland and Hungary. However, he died in the Battle of Varna and his brother Casimir IV Jagiellon became King of Poland in 1447. Casimir married Elisabeth of Austria (1436–1505), daughter of the late King of Hungary Albert II of Germany and Elisabeth of Bohemia (daughter of Sigismund, the Emperor and King of Hungary). The Jagiellon House challenged the House of Habsburg in Bohemia and Slovakia.