TRENDEFRARAtlas of the Sultans · Wars, battles and treaties

Siege · 1683

Battle of Vienna

Mehmed IV1648–1687

Grand Vizier Merzifonlu Kara Mustafa Pasha arrived before Vienna with a very large army on 14 July 1683; the campaign's first targets had been Győr and Komárom, and Mehmed IV, who stayed in Belgrade, was astonished to learn that the army had marched on Vienna. Emperor Leopold I left the defence to Starhemberg and withdrew to Linz. After a siege of two months a relief army under the Polish king Jan Sobieski seized the Kahlenberg heights and got behind the Ottoman army. In the battle of 12 September the right wing broke first; when the help expected from the Crimean khan did not come, the left collapsed too; Kara Mustafa Pasha had to withdraw and was executed in Belgrade on 25 December 1683.

About the event

Date14 July – 12 September 1683
LocationVienna and the Kahlenberg
ResultThe Ottoman army was defeated and withdrew; the wars of the Holy League began
BelligerentsVassal states:
Upper Hungary
Moldavia
Holy Roman Empire
Habsburg monarchy
CommandersJan Sobieski
Starhemberg
Merzifonlu Kara Mustafa Pasha

Causes

The discontent that the Treaty of Vasvár caused among Hungarian nobles had grown into a revolt led by Imre Thököly. On becoming grand vizier, Merzifonlu Kara Mustafa Pasha proclaimed Thököly king of Middle Hungary. Emperor Leopold I asked for the renewal of the Treaty of Vasvár, which had not yet expired, and Mehmed IV also favoured peace; but Merzifonlu, backed by the household troops and declaring that he wished to make up for the defeat at Saint Gotthard, refused to renew it, won over public opinion through mosque preachers and persuaded the sultan to go to war. When the army reached Székesfehérvár, Vienna was officially announced as the target.

Consequences

The TDV articles differ on why the siege dragged on: the article on Vienna states that the target had been chosen in advance and preparations made accordingly, while the article on Merzifonlu notes that heavy siege guns had not been brought and that the grand vizier wanted to take the city by surrender rather than by assault. After the defeat the army withdrew to Győr, leaving behind some 300 cannon, nearly 15,000 tents and the army treasury. Merzifonlu had Uzun Ibrahim Pasha, governor of Buda, executed for being the first to abandon the camp, and had the Crimean khan Murad Giray deposed. Shortly afterwards Párkány and Esztergom also fell to the Austrians.

Historical significance

The defeat at Vienna brought into the war the great alliance led by Pope Innocent XI, which included the German world and Poland and was later joined by Venice and Russia, and turned the conflict into a general war that lasted until the Treaty of Karlowitz in 1699. From then on the Ottoman state was forced to retreat and to fight its wars within its own borders. The period that began after the defeat was the darkest of Mehmed IV's reign.

These sections are based on the following articles of the TDV Encyclopedia of Islam (TDV İslâm Ansiklopedisi): VİYANA, MERZİFONLU KARA MUSTAFA PAŞA, MEHMED IV, VASVAR ANTLAŞMASI

This event in the atlas

Took place during the reign of Mehmed IV (1648–1687). Mehmed IV

Open the reign of Mehmed IV on the map

Context of the period

By the atlas's calculation the Ottoman lands covered about 4,736,000 km² in 1683; at the start of Mehmed IV's reign they measured 4,774,000 km², at its end 4,631,000 km².

During Mehmed IV (1648–1687) the atlas records 4 regions gained and 6 regions lost.

Regions gained: Várad (Oradea) (1660), Nové Zámky (Uyvar) (1663), Crete (1669), Podolia (Kamianets) (1672).

Regions lost: Lahsa (Eastern Arabia–Qatar) (1672), Nové Zámky (Uyvar) (1685), Buda (central Hungary) (1686), Eastern Slavonia and Syrmia (Osijek–Vukovar) (1687), Western Slavonia (Virovitica–Čazma) (1687), Morea (Peloponnese) (1687).

Mehmed IV in brief

His reign saw both the empire's last great expansion and its heaviest reversal. The state, revived under the Köprülü viziers, lost Hungary and Transylvania within four years of the second siege of Vienna.

Other battles and treaties of Mehmed IV

In nearby years (1690–1691), under other sultans

Areas are land area computed from the atlas's region data; see Method and sources.

Source: TDV Encyclopedia of Islam, “VİYANA” (Kemal Beydilli) (Turkish); text written for the atlas. See also: Gábor Ágoston – Bruce Masters (ed.), Encyclopedia of the Ottoman Empire (2009), p. 583–584; Songül Çolak – Metin Aydar, “Savaş ve Propaganda: 1683 Viyana Kuşatması Üzerine Bir Değerlendirme”, Belleten 84/301 (2020), p. 1078–1085.

Cite as: Atlas of the Sultans, “Battle of Vienna (1683): Date, Commanders and Outcome”, https://padisahlaratlasi.com/en/events/battle-of-vienna/ (last updated 29 November 2026). Corrections · Image credits

Terms on this page: Grand vizier · Vizier