By the late seventeenth century, the Ottoman Empire remained one of the most powerful states in the world, having expanded deep into Southeastern Europe over the preceding centuries, including two prior attempts on Vienna itself. In 1683, Grand Vizier Kara Mustafa Pasha led a massive Ottoman army, estimated at well over 100,000 soldiers, north to besiege Vienna, the capital of the Habsburg Monarchy and a symbolically vital gateway city between the Ottoman-controlled Balkans and the rest of Central and Western Europe.
Vienna's garrison, vastly outnumbered, held out for approximately two months of siege, enduring extensive bombardment, disease, and dwindling supplies while awaiting a relief force. That relief finally arrived on September 12, 1683, when a coalition army under the command of Polish King Jan III Sobieski, including Polish, Austrian, and various German forces, launched a massive assault from the hills surrounding the city, culminating in one of the largest cavalry charges in history — the Winged Hussars' charge — which broke the Ottoman siege decisively. The victory is widely regarded by historians as marking the definitive end of Ottoman territorial expansion into Central Europe, after which the Ottoman Empire entered a prolonged period of territorial retreat in Europe over the following centuries.