Teimuraz I, deceitfully leading detachment of the Qajars to the Iori river to be massacred by Kakhetians. Additionally, Teimuraz's army immediately invaded Arran and Karabakh several times, pillaging Ganja twice. In 1633, Safavid counterattack came, the Qizilbash army led by Rostom Khan, uncle of the late Simon II, forced Teimuraz I to Imereti. Rostom (1633–1658) became the new King of Kartli. However, in the following year, to the disappointment of the Shah, Teimuraz I managed to reestablish himself in the Duchies of Aragvi and Ksani. Moreover, by 1638, Kakheti was under full control of the unruly King. During the 1630s Teimuraz I renewed his attempts to establish close ties with Russia. In 1639, he petitioned the Tsar of Russia for help and signed an oath of loyalty. However, no military aid had arrived. In 1642, Teimuraz I conspired with Catholicos-Patriarch of eastern Georgia – Eudemus I and Kartlian nobles, to assassinate Rostom of Kartli, when the Muslim King was relaxing unguarded in the country. After that, Teimuraz I had to capture Tbilisi, expel Qizilbashes and unite eastern Georgian Kingdoms. However, a conspirator betrayed the plot. Rostom had the Catholicos-Patriarch arrested and imprisoned at the citadel of Tbilisi, where he was strangled. Eudemus I was canonized by the Georgian Orthodox Church as a holy hieromartyr. Six years later stubborn King of Kakheti was finally ousted from the power, losing the heir – Prince David, in the fateful battle of Magharo. Rostom, loyal vassal of the Shah, became the new ruler of Kakheti. Taking shelter in Imereti, deposed Kakhetian King had his grandson Heraclius sent to the Russian court. In 1658, Teimuraz I travelled to Moscow, thus becoming the first Georgian King to visit Russia. In 1661, seventy-two years old King was captured during the Imeretian campaign of the King of Kartli, Vakhtang V (1658–1675). Teimuraz I was escorted as an honoured prisoner through Kartli to Shah Abbas II's court – the Shah urged him to accept Islam, offered him meat on a fast day and, when Teimuraz I declined, threw wine in his face and imprisoned him in Astrabad by the Caspian. Here, the most valiant Georgian King of the seventeenth century died in 1663. Teimuraz I was buried in the Alaverdi Monastery. In 1656, Shah Abbas II made another attempt to settle Turkoman tribes in Kakheti. As a result, in 1659, Georgians revolted again, tens of thousands Turkomans were massacred,