In 1783, Russia and the eastern Georgian Kingdom of Kartli-Kakheti signed the Treaty of Georgievsk, by which Georgia abjured any dependence on Persia or another power, and made the kingdom a protectorate of Russia, which guaranteed Georgia's territorial integrity and the continuation of its reigning Bagrationi dynasty in return for prerogatives in the conduct of Georgian foreign affairs.