Esperaunce

A wide painting of cavalry charging across a field in clouds of dust and smoke, banners flying, with fallen horses and men.

The Ottoman Empire · Military and Warfare

The second time at Vienna

Jozef Brandt, Polish Army Museum, Warsaw, public domain, via Wikimedia Commons.

The Archives/The Ottoman Empire/Military and Warfare

The mines under the Burg bastion were within days of bringing down the wall. Then an army came down off a wooded hill on the Ottoman flank and the siege was over in an afternoon.

On 14 July 1683 an Ottoman army arrived outside Vienna and began to dig. It was the second time. Suleiman had besieged the city in 1529, late in the season, in the rain, without his heavy guns, and had withdrawn after three weeks.

This attempt was better prepared and it came much closer. The garrison was around fifteen thousand against a besieging force several times that size. The emperor had left the city. The Ottoman sappers were experienced and the ground favoured them.

By early September the mines had breached the outer defences and the garrison was down to a few thousand effectives with the powder running out. On 12 September a relief army of Austrians, Germans and Poles under Jan Sobieski, king of Poland, came down from the Kahlenberg heights to the northwest and attacked the Ottoman camp. The battle lasted a day. By evening the Ottoman army was in retreat and its commander was riding south towards an appointment with a bowstring.

❦

On this page

Why they went

The decision to attack Vienna in 1683 was not obviously sensible and the reasons are political. The Ottomans had been at peace with the Habsburgs since 1664, when a treaty at Vasvar had ended a war the Ottomans had effectively lost on the battlefield and won at the table. The grand vizier who pushed for war was Kara Mustafa Pasha, brother-in-law of the previous grand vizier and a man who needed a victory of his own.

A painted portrait of a heavily bearded man in a large white turban with a jewelled plume and an orange robe, with a German inscription above.
A posthumous portrait of Kara Mustafa Pasha painted in 1696. The German inscription records the siege of 1683 and its failure, and the grand vizier was strangled for that failure the same year.Wien Museum, public domain, via Wikimedia Commons.

The occasion was supplied by a rebellion in Habsburg Hungary under Imre Thokoly, who appealed for Ottoman support and was made a vassal prince. The original plan appears to have been a limited campaign to secure Hungary. Kara Mustafa expanded it to Vienna, apparently on his own initiative, and the sultan Mehmed IV accompanied the army only as far as Belgrade.

The French encouraged it. Louis XIV had a standing interest in keeping the Habsburgs occupied in the east, and he declined to join the Holy League that formed against the Ottomans.

1529, briefly

The first attempt deserves a section, because the two sieges are usually run together and they were different operations. Suleiman reached Vienna in late September 1529, having taken Buda on the way. It had been an exceptionally wet summer and the roads were ruined.

An Ottoman painting of a crowded battlefield on pink hills, horsemen and soldiers with banners surrounding a mounted sultan in a white turban.
Suleiman at the battle of Mohacs in 1526, from the Hunername painted in 1584. The battle destroyed the Hungarian army and killed its king, and opened the middle Danube to Ottoman rule.Topkapi Palace Museum Library, public domain, via Wikimedia Commons.

The heavy siege artillery never arrived. Guns were abandoned in the Hungarian mud, and what reached Vienna were field pieces that could not break the walls. The garrison, around 20,000 under Niklas Salm, had demolished the suburbs to clear fields of fire and reinforced the medieval walls with earth.

The Ottomans mined, as they would in 1683, and made breaches, and the assaults were thrown back. By mid-October it was snowing, the army was short of food, and the season was over. Suleiman withdrew after about three weeks, executing his prisoners as he went, which is recorded in both traditions.

The campaign is usually counted a failure and it achieved its main strategic object. Habsburg claims on Hungary were checked, Ottoman control of the Hungarian plain was consolidated, and it held for 150 years. The 1683 attempt was the opposite: a better-run siege that came far closer to taking the city and cost the empire a great deal more when it failed.

The siege

The technical conduct of the siege was good and it very nearly worked. The Ottomans did not bombard. They had left the heaviest guns behind in the interest of speed, and Vienna’s bastioned fortifications were designed to absorb artillery anyway.

The interior of a large tent of red cloth decorated with appliqued gold and blue medallions and borders, with small windows cut in the wall.
An Ottoman prestige tent of the seventeenth century at Wawel Castle in Krakow, from the collection Poland formed from its Ottoman wars. An army on campaign was a moving city of tents like this one.Photograph by Marmontel, CC BY 2.0, via Wikimedia Commons.

Instead they mined. Sappers dug approach trenches, then galleries under the bastions, packed them with powder and blew them. Over eight weeks they took the outer works, breached the Burg bastion and the Lobel bastion, and reached the main wall. The defenders countermined, and the underground fighting was continuous.

By 8 September a practicable breach existed. The garrison commander, Ernst Rudiger von Starhemberg, was firing distress rockets. What Kara Mustafa did not do was fortify his rear or take the Kahlenberg heights, from which an approaching army could descend onto his camp.

That omission has been attributed to overconfidence, to a shortage of men, and to a calculation that the city would fall before any relief could arrive. All three may be true.

The relief

The army that broke the siege was assembled by diplomacy as much as by force. Pope Innocent XI funded it. The Habsburg emperor Leopold I signed an alliance with Poland in March 1683, before the Ottomans had even crossed the Danube.

A panoramic painting of a walled city in a wide plain, siege trenches and tents around it and a battle raging in the foreground.
The relief of Vienna on 12 September 1683, painted the next year. The Ottoman trenches run up to the bastions, and the camp’s tents fill the foreground.Deutsches Historisches Museum, Berlin, photograph by anagoria, public domain, via Wikimedia Commons.

Sobieski brought perhaps 20,000 Poles, including the winged hussars, heavy lancers of a kind that had gone out of use elsewhere in Europe and which were still devastating in the right conditions. Charles of Lorraine brought the imperial army, and the Saxon and Bavarian electors brought contingents. The total was somewhere around 70,000 to 80,000.

They crossed the Danube, assembled in the Vienna Woods, and came down the slope on the morning of 12 September. The fighting lasted through the day. In the late afternoon Sobieski launched the hussars in a charge against the Ottoman centre, which broke.

Kara Mustafa got away with part of the army and the standard. He was executed in Belgrade in December on the sultan’s order, strangled with a silk cord, and his head was sent to Istanbul.

The Holy League war

The defeat is remembered and the sixteen years that followed it are not, which is the wrong way round. Vienna did not end anything by itself. The Holy League formed in 1684 and fought a long war of attrition across Hungary.

Buda fell in 1686 after a siege of two and a half months, ending 145 years of Ottoman rule there. The Ottomans were beaten at Mohacs in 1687, on the field where they had destroyed the Hungarian kingdom in 1526, which contemporaries noticed. Belgrade fell in 1688 and was retaken in 1690. Transylvania passed to the Habsburgs. Venice took the Morea in southern Greece.

Russia entered in 1686 and took Azov in 1696, which gave it a Black Sea outlet for the first time and opened a frontier that would preoccupy the empire for the next two centuries. The war was fought across a front of a thousand miles for sixteen years by an empire that had planned a single season’s campaign, and the cost of it is the reason the fiscal changes described elsewhere on these pages accelerated when they did.

The decisive engagement was at Zenta in September 1697, where Prince Eugene of Savoy caught an Ottoman army crossing the Tisza river and destroyed it, killing the grand vizier and capturing the treasury.

Karlowitz

The treaty signed in January 1699 is the real turning point and it was procedural as much as territorial. The Ottomans ceded Hungary and Transylvania to the Habsburgs, Podolia to Poland, the Morea and Dalmatian territory to Venice, and Azov to Russia by a separate treaty. That was the first substantial territorial loss the empire had ever conceded by negotiation.

An engraving of delegates in European and Ottoman dress seated around a table in a plain timber room, labelled the conference hall.
The conference room at Karlowitz in 1698 and 1699, in a contemporary engraving. The building had doors for every delegation so that no one had to enter after another.Unknown engraver, public domain, via Wikimedia Commons.

The manner of it mattered as much. Previous Ottoman treaties had been framed as grants: truces conceded by the sultan to a supplicant, for a limited term, revocable. Karlowitz was negotiated between parties, with mediators, English and Dutch, on neutral ground, using European diplomatic forms, and it treated the Ottoman Empire as one state among several rather than as a universal empire granting terms.

Both faces of a silver medal, one with two standing figures clasping hands under a tree and the other with flowers growing from a field.
A silver medal struck for the Peace of Karlowitz in 1699, with the emperor and the sultan shaking hands. The treaty was the first in which the Ottomans accepted a mediated peace and a surveyed frontier.Rijksmuseum, Amsterdam, CC0, via Wikimedia Commons.

Rifaat Abou-El-Haj’s study of the negotiation showed the Ottoman delegation working with a clear grasp of what was happening and negotiating hard for the best terms available. It also marks the point at which the empire began maintaining permanent diplomatic relations on the European model, which it had previously refused to do.

What it did and did not mean

The traditional reading treats 1683 as the beginning of the end, and the reading needs qualifying in both directions. Against it: the empire lasted another 235 years. It fought and won wars in the eighteenth century, including a war against Austria and Russia ending in 1739 that recovered Belgrade. It retook the Morea from Venice in 1715.

For it: something had changed in the balance of military capability, and Ottoman commanders knew it. The reform literature of the eighteenth century, by Ottoman officials, is explicit that European armies had acquired advantages in drill, artillery and engineering that had to be matched. The fiscal consequence was immediate and severe. A long defensive war on a distant frontier, fought by paid troops, cost far more than the campaigns of expansion had, and produced no plunder or new revenue.

The political consequence was that the empire spent the eighteenth century as one European power among others, making alliances, receiving ambassadors and losing wars to Russia, which is a different position from the one it had occupied for three centuries.

Why the army lost

The military explanation is more specific than a general decline and is worth stating. Ottoman infantry firepower had not kept pace. European armies had moved to lighter muskets, the socket bayonet, and drilled linear formations with a much higher rate of fire.

A painting of a moustached soldier in a long red coat and white stockings, a tall white felt cap falling behind his head, standing in open country.
A janissary in the 1720s, from the Vanmour series. The long white cap, the bork, was the corps’ mark, and by this date many men who wore it were shopkeepers drawing pay rather than full-time soldiers.Workshop of Jean Baptiste Vanmour, Rijksmuseum, Amsterdam, public domain, via Wikimedia Commons.

Ottoman artillery remained good, and Gabor Agoston’s work has demolished the old claim that Ottoman gun-founding fell behind. The guns were fine; the infantry tactics were not. Cavalry had declined in importance everywhere and the timariot system that produced it had eroded, as described in Cavalry paid in land.

And the empire’s greatest asset, its administrative and logistical capability, was being applied to a frontier a thousand miles from the capital against opponents fighting close to their own bases. Ottoman commanders responded to all of this. The eighteenth century saw French officers hired, artillery schools founded, and new corps formed, which is the beginning of the sequence that ends with the destruction of the janissaries in 1826.

The image in Europe

A closing note on how the event has been used, because it has had an unusually active afterlife. Vienna 1683 entered European memory as the moment Christendom was saved at its gates, and it has been invoked ever since by people making an argument about Europe and Islam. It is invoked now, in political rhetoric and worse, by people who have not read anything about it.

A panoramic battle painting of a besieged walled city with tents, earthworks and massed cavalry on the hills above it.
The relief of Vienna in September 1683, painted by Frans Geffels. The Ottoman siege lines are in the foreground and the relieving army is coming down off the Kahlenberg.Painting by Frans Geffels, Wien Museum, public domain, via Wikimedia Commons.

What that rhetoric requires is a clash of civilisations, and the actual alignments were nothing of the kind. Catholic France sided with the Ottomans. Protestant Hungarians fought alongside them against the Catholic emperor. Orthodox Christian Moldavians and Wallachians were in the Ottoman army under their own princes, and some of them, by their own account, fired deliberately high.

The armies on both sides were coalitions assembled by interest, and the war was a war between states over Hungary. Treating it as anything else is a nineteenth and twentieth-century overlay, and a historian’s first job with this material is to take that overlay off.

Sources

Ancient

  • Ottoman campaign accounts of 1683; Silahdar Findiklili Mehmed Aga, Tarih
  • The diaries and reports of the Vienna garrison; the correspondence of Jan Sobieski
  • The texts of the Treaty of Karlowitz, 1699, and the Treaty of Vasvar, 1664

Modern

  • Rifaat Abou-El-Haj, on the Karlowitz negotiations and the Ottoman diplomatic turn
  • Gabor Agoston, Guns for the Sultan, 2005, and The Last Muslim Conquest, 2021
  • Rhoads Murphey, Ottoman Warfare 1500 to 1700, 1999
  • Caroline Finkel, Osman’s Dream, 2005
  • Virginia Aksan, Ottoman Wars 1700 to 1870, 2007

New civilisations are announced by email as they are written.

Passages may be quoted with my name and a link to the page, and copies may be handed out in a classroom, lecture or study group as long as the site’s name stays on them. Please ask first before republishing a whole essay or Archives page, translating one, or using the writing in anything that is sold. Use for training machine-learning systems is not permitted. The details are on Using this site.

Images are credited individually; rights remain with their holders.

© 2026 Esperaunce. All rights reserved.