Thereafter and throughout the early modern period, Georgians became politically fractured and were dominated by the Ottoman Empire and successive dynasties of Iran. Georgians started looking for allies and found the Russians on the political horizon as a possible replacement for the lost Byzantine Empire, "for the sake of the Christian faith". The Georgian kings and Russian tsars exchanged no less than 17 embassies, which culminated in 1783, when Heraclius II of the eastern Georgian kingdom of Kartli-Kakheti forged an alliance with the Russian Empire. The Russo-Georgian alliance, however, backfired as Russia was unwilling to fulfill the terms of the treaty, proceeding to annex the troubled kingdom in 1801 as well as the western Georgian kingdom of Imereti in 1810. There were several uprisings and movements to restore the statehood, the most notable being the 1832 plot, which collapsed in failure. Eventually, Russian rule over Georgia was acknowledged in various peace treaties with Iran and the Ottomans, and the remaining Georgian territories were absorbed by the Russian Empire in a piecemeal fashion through the course of the 19th century. Georgians briefly reasserted their independence from Russia under the First Georgian Republic from 1918 to 1921 and finally in 1991 from the Soviet Union.