Ottoman Hungary
Although Mustafa II (1695–1703), last of campaigning sultans, won a few minor victories, he suffered a devastating loss in the Battle of Zenta by Prince Eugene of Savoy of Austria. By 1699, Ottoman Hungary had been conquered by the Austrians. The Treaty of Karlowitz was signed that year. By this treaty, Mustafa II ceded Hungary (see Ottoman Hungary) and Transylvania to Austria, Morea to the Venetian Republic and withdrew Ottoman forces from Polish Podolia. Also during this reign, Peter I of Russia (1682–1725) captured the Black Sea fortress of Azov from the Ottomans (1697). Mustafa was dethroned during the revolt named the Edirne event, which was preceded by a large-scale campaign in Georgia.