Ottoman Hungary
Under the terms of the Treaty of Karlowitz, which ended the Great Turkish War in 1699, the Ottomans ceded nearly all of Ottoman Hungary. The new territories were united with the territory of Kingdom of Hungary, and although its powers were mostly formal, a Diet in Pressburg ruled the lands.