During the
Battle of Mohács in 1526 the king of
Hungary,
Louis II, had died without an heir to throne, but since the Ottoman Empire did not annex Hungary after the war, the Hungarian throne was left vacant for several months. Two claimants emerged:
Ferdinand I, the archduke of Austria; and
János Szapolyai, the
voivode (governor) of
Transylvania (, now the west of
Romania). Although Szapolyai was backed by most of the Hungarian elite, Ferdinand declared himself the legal king of Hungary, with the support of his older brother,
Charles V, Holy Roman Emperor. The Ottoman Empire, however, backed Szapolyai, and Emperor
Suleyman I mounted a threat against Austria in two military campaigns (of 1529 and 1532). Ferdinand saw that it was impossible to establish his rule in Hungary. Meanwhile, the
shah of
Safavid Persia,
Tahmasp I, became active in the eastern borders of the Ottoman Empire. Suleyman decided to concentrate his activities in the east and to give up his pursuit of hostilities in the west and so the treaty was signed. ==Terms==