in 1789. Austria restored
Belgrade and other captured territories to the Ottomans. Joseph's successor
Leopold II was compelled to end the war due to the threat of Prussian intervention in support of the Ottomans. In the final negotiated outcome, established in the
Treaty of Sistova of 4 August 1791, Austria's gains were "meagre": Austria returned all the territory from its conquests save the small town of
Orsova and a strip of Croatian land near the Bosnian-Croatian border (e.g.
Drežnik Grad,
Cetin Castle,
Donji Lapac,
Srb). The Russians won new territory along the Black Sea and forced the Turks to acknowledge previous conquests in the
Treaty of Jassy of 9 January 1792. For the Ottomans, the war was a salient event in a long period of national decline (see
Stagnation and reform of the Ottoman Empire). In 1791, the withdrawal of troops and warships to Europe led to the overthrow of Emir
Ismail Bey in Egypt; and his successors,
Murad Bey and
Ibrahim Bey, established a regime independent of Istanbul.
Serbia had been
under Ottoman rule before the war and was closely fought over, remaining an Ottoman possession after the final treaty settlement. The war was to have important consequences for the future history of Serbia. Rajić writes, The wars of the 16th, 17th, and 18th centuries instilled in the Serbian consciousness the deep-seated expectation that only Austria could lend a helping hand [i.e., in liberating Serbia from the Ottomans]. This faith was largely shaken after
Kočina Krajina and the last Austro-Turkish War (1788–1791), when it became clear that despite the Serbs' merits and heavy casualties in the fight against the Turks, the emperor abandoned them and made peace with the sultan. Since then, Russia superseded Austria in the Serbs' plans to restore their state. For discussion of the fate of Serbia during the war, see
Habsburg-occupied Serbia (1788–1791). This treaty ended the
Ottoman–Habsburg wars. In later years, the three countries involved participated in different military alignments. Russia continued to fight periodically against the Ottomans during the 19th and 20th centuries (see
Russian-led wars against the Ottomans), but Austria did not participate in these conflicts. During the long period of the
Napoleonic wars, which broke out soon after this war, Russia and Austria were generally allies aligned against France. During the
Second Ottoman–Egyptian War, Austria, along with
Britain,
saved its old rival from early collapse against
Muhammad Ali of Egypt's
Egypt. Lastly, the Ottoman and Austro-Hungarian empires fought as allies in the
First World War, with Russia as a primary opponent; the Ottomans sent troops to
Galicia and the Austro-Hungarians to
Gaza; with the end of the war both empires came to an end. ==The home front in Austria==