The Ottoman Empire lost the Crimean Khanate, an Ottoman dependency since 1478, under the terms of the 1774 Treaty of Küçükkaynarca. Crimean khan Devlet Giray (Devlet IV) appealed to the Ottoman Porte to renew the region's dependency, a proposal that was not possible under the terms of Küçükkaynarca. The Russian government forced Devlet IV to abdicate upon hearing of his entreaties to the Ottomans and replaced him with a khan they could better manipulate, Şahin Giray.