In 1783, Russia and the eastern Georgian kingdom of Kartl-Kakheti signed Treaty of Georgievsk. Kartli-Kakheti, led by Erekle II, seeing that Persia was trying to put Georgia again under Persian rule, urged for the treaty which he hoped would guarantee Russian protection in the future. However, this did not prevent Persia which had been ruling Georgia intermittenly since 1555, now led by Agha Mohammad Khan of the Qajar dynasty, from sacking Tbilisi in 1795, and regaining full control over Georgia. This act Russia the direct option to push deeper into the Caucasus per the signed treaty with Georgia.