In 1526, Hungary was defeated by the Ottoman Empire at the Battle of Mohács, and King Louis II of Hungary was killed.
Ferdinand of Austria, younger brother of Emperor Charles V, claimed the crown by right of his marriage to Louis' sister Anne.