# Koča's Frontier

Koča's Frontier (Serbian: Кочина крајина, Kočina krajina) refers to the territory liberated by Serbian rebels in the Sanjak of Smederevo (Ottoman Empire), during the Austro-Turkish War of 1788–1791. Rebellion was planed already in 1787, since it was anticipated that the Habsburg Monarchy will enter into war against the Ottomans. The Habsburg-organized Serbian Free Corps, among whom Koča Anđelković was a prominent captain (hence the historiographical name of the movement), initially captured and held various central parts of Ottoman Serbia during 1788 and 1789. After the arrival of regular Habsburg armies, who captured Belgrade from the Ottomans on 8 October (1789), the liberated Serbian territory was much expanded and became a Habsburg protectorate under military administration, called Serbia (German: Serbien). By the Treaty of Sistova (1791), Habsburg forces had to retreat, and the entire liberated territory was returned to the Ottomans. Such outcome also ended Serbian hopes for liberation through alliance with Habsburgs.

## Background
### Ottoman Serbs

The Serbs had taken an active part in the wars fought in the Balkans against the Ottoman Empire, and also organized uprisings. Because of this, they suffered persecution and their territories were devastated. Major migrations from Serbia into Habsburg territory ensued.

### Habsburg-Russian alliance

Due to conflicts around Caucasus in 1786, relations between Russia and the Ottomans soured. The next year, Joseph II and Catherine II met in Crimea for the second time, which prompted the Ottomans to declare war on Russia. In the meantime, the Austrians prepared the Serb refugees for war.

## History
### Koča's frontier rebellion

A Serbian Free Corps of 5,000 soldiers had been established in Banat, composed of refugees that had fled earlier conflicts in the Ottoman Empire. The Corps would fight for liberation of Serbia and unification under Habsburg rule. The main commander was the Austrian major Mihailo Mihaljević. Among volunteers were Aleksa Nenadović, Stanko Arambašić, the prominent Radič and Đorđe Petrović but most of all Koča the Captain. The Austrians used the Corps in two failed attempts to seize Belgrade, in late 1787 and early 1788.
The Austrians entered this war in February 1788, though they had by now lost their best chance for an easy victory. The slow preparations of Russia resulted in the Ottoman concentration on Belgrade. The Austrians relied on Russian support in Moldavia, which only began in late 1788, and Joseph II seemed to have been reluctant to fight the Ottomans. In July, the Ottomans crossed the Danube and broke into Austrian Banat. Shortage of supplies struck both sides, while disease struck the Austrian soldiers.> As many as 50,000 Serb refugees flooded across the Danube, causing logistical problems for the Austrians. In mid-August, Joseph II dispatched 20,400 soldiers into Banat.

### Habsburg occupation

On 8 October 1789, Ernst Gideon von Laudon took over Belgrade. Austrian forces occupied Serbia, and many Serbs fought in the Habsburg free corps, gaining organization and military skills. The occupation was accompanied by the Catholic Church which sought to convert the Orthodox Serbs, which made the Serbs look to Russia for aid after the Ottoman regaining of the area in 1791.
Emperor Joseph II died on 20 February 1790, and his successor Leopold II consequently decided to abandon further war efforts and conclude peace with the sultan. The Treaty of Sistova was signed on 4 August 1791, thus ending the war. Gains in Serbia were to be returned to the Ottomans. Habsburg armies started to withdraw across the Danube and Sava rivers, joined by thousands of Serbian families who feared Ottoman persecution. Finally, Belgrade Fortress was evacuated by last Habsburg forces on 23-24 October 1791, thus marking the restoration of Ottoman rule in Serbia.

## Aftermath

After the war, the Ottomans gave rights to the Serbs to collect local taxes. The displaced janissaries, excluded from the Ottoman Army following reorganization, sought refuge in Serbia (Sanjak of Smederevo) where they tried to revoke the rights granted to the Serbs. These renegade janissaries, called dahije, murdered as many as 150 Serb leaders (knezovi), sparking the First Serbian Uprising (1804). The leader of the uprising, Karađorđe Petrović, had earlier served in the Austrian army as a volunteer during the Habsburg occupation. The uprising expanded into the Serbian Revolution (1804–17), which saw the de facto independence of Serbia.

## Legacy

An annual manifestation, the "Days for Koča's Frontier" (Дани Кочине крајине), takes place in Jagodina and Kladovo in honour of the rebellion.