The Russian Empire formally annexed the Crimean Khanate on 19 April [O.S. 8 April] 1783, following a decade-long campaign of intervention in the Crimean Peninsula. Russia aimed to control the Black Sea and end raids by Crimean slavers into its territory. To accomplish this, the Russians waged a series of wars against the Ottoman Empire and its Crimean vassal state, culminating in victory in the 1768–1774 Russo-Turkish War. The Treaty of Küçük Kaynarca, signed in 1774, granted the Crimean Khanate nominal independence from the Ottomans under Russian influence. In subsequent years, Russia would intervene widely in Crimean affairs, provoking a series of revolts by the Crimean Tatars, while the Ottomans watched in ambivalence. Crimea was finally annexed by Russia on 19 April 1783, after Russian imperial advisor Prince Grigory Potemkin encouraged Empress Catherine the Great to dissolve the khanate and formally claim its territory. The annexation ended the centuries-long Crimean slave trade. Under Russian administration, the former khanate was subjected to a long-term policy of de-Tatarisation. Tatar property was confiscated, and Russians were encouraged to settle in the region, sparking waves of Tatar emigration.