Siege of Vienna
After seven years of war and the failed Siege of Vienna in 1529, the Treaty of Konstantiniyye was signed, in which John Zápolya was recognized by the Austrians as King of Hungary as an Ottoman vassal, and the Ottomans recognized Habsburg rule over Royal Hungary.