The Russo-Turkish wars (or Ottoman-Russian wars) were a series of wars fought between the Russian Empire and the Ottoman Empire between the 16th and 20th centuries. It was one of the longest series of military conflicts in European history.
After having captured the region of Podolia in the course of the Polish–Ottoman War (1672–76), the Ottoman government strove to spread its rule over all of the Right-bank Ukraine with the support of its vassal, Petro Doroshenko (1665–1672). The latter's pro-Ottoman policy caused discontent among many Ukrainian Cossacks, who would elect Ivan Samoilovich as a sole Hetman of all Ukraine in 1674.
In 1679–80, the Russians repelled the attacks of the Crimean Tatars and signed the Treaty of Bakhchisarai on January 3, 1681, which would establish the Russo-Turkish border by the Dnieper River. Russia had joined the European Holy League (Austria, Poland, Venice) in 1686. During the war, the Russian army organized the Crimean campaigns of 1687 and 1689 and the Azov campaigns (1695–96). The Russian involvement marked the beginning of the Russo-Turkish Wars. In light of Russia's preparations for the war with Sweden and other countries' signing the Treaty of Karlowitz with Turkey in 1699, the Russian government signed the Treaty of Constantinople with the Ottoman Empire in 1700.