Russia 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). In the 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. Following the results of peace, Russia managed to annex Azov and get access to the Sea of Azov.