Quba Khanate
In summer, 1783 Erekle II – tsar of Kartli-Kakheti signed the treaty of Georgievsk with Russia, according to which Eastern Georgia abjured any form of dependence on Persia and became a protectorate of Russia. Conclusion of the Georgiyevsk treaty sharply weakened the positions of notably Persia and to a lesser extent Ottoman Empire in the South Caucasus. By the end of the 1780s, significant changes in alignment of forces, called by aspiration of its nations to accept Russia’s citizenship, happened in the region. Besides that, Agha Muhammad Khan Qajar significantly reinforced his positions in Persia and fixed upon the South Caucasus, but Ottoman and Russian Empires were on the threshold of Russo-Turkish War. Emerged foreign policy circumstances caused on convergence of Russia, Kartli-Kakheti and Quba Khanate, and Russian diplomacy attached great importance to reconciliation of the rulers of South Caucasus. In March, 1787, an agreement between Kartli-Kakheti and Quba Khanate was signed, which was of great importance in establishment of balance in the South Caucasus and strengthening of Russia’s position in the region. As G. A. Potyemkin wrote: "“Yours Excellency, endeavor to unite tsar Erekle of Georgia and David of Imeretiya in alliance. After Fatali Khan’s joining, they’ll be able to possess advantage over our enemies”."