Agha Mohammad Khan was killed in Karabakh in 1797, and his successor,
Fath-Ali Shah Qajar (), sent Mohammad Khan back to Erivan to continue as its governor. In late 1798, Fath-Ali Shah gave Mohammad Khan a
firman (royal decree) permitting him to rule Erivan, demanding in exchange a large sum (equivalent to 20,000 rubles) and the giving of hostages. As Mohammad Khan did not want to pay the sum, he began negotiations with Georgia. His recalcitrance provoked Fath-Ali to send the crown prince,
Abbas Mirza, and the commander
Soleyman Khan against him and the rebellious khan of
Khoy in mid-1799. Mohammad Khan sent his troops to join those of Khoy, but the khans were defeated and Khoy was conquered. In the spring of 1800, Abbas Mirza's army set out for Erivan from Tabriz, despite Russian attempts to dissuade Fath-Ali from another campaign in the South Caucasus. Mohammad Khan again appealed to the Russians and the Georgians for assistance, and both King
George XII of Georgia and the Russian minister Kovalensky promised to help. The Qajar army besieged Erivan, but because of their lack of artillery they were unable to take the fortress; the Khan's troops even made several sorties and attacked the besiegers. Eventually, Mohammad Khan agreed to pay a fine and Abbas Mirza lifted the siege. Less than a month after Abbas Mirza's departure, Mohammad Khan sent troops to take
Shoragel from the Georgians. He was not deterred when George XII sent a force of 400 men commanded by
Pavel Tsitsianov to protect the region; the Khan's troops defeated the Georgian force and captured and destroyed the fortress of Shoragel. Mohammad Khan also desired to conquer Pambak, which had earlier been granted to him by Agha Mohammad Khan. To prevent this from happening, Russian troops approached the border of the Erivan Khanate, and Mohammad Khan was forced to abandon his plan. According to Grigorian, Mohammad Khan's real goal was to be independent of the Shah, the Russians, and the Georgians—his professed desire for Russian protection notwithstanding. Although Mohammad Khan was not noted for being courageous, he was skilled in politics and maintained contact with the Russians and Ottomans, while also guaranteeing Iran his allegiance. On March 23/24, 1801, the Russian emperor Paul I died and was succeeded by his son
Alexander I (). He installed Knorring as the governor of Georgia and instructed him to persuade various khanates that Fath-Ali Shah's authority had not yet been established in—such as Erivan, Ganja,
Shakki,
Shirvan, and
Baku—to request Russian protection. This demonstrates that Alexander, unlike his father, sought to conquer the entire area between the
Aras and
Kur rivers. Russian soldiers were now permanently stationed in
Tiflis and were prepared to advance to the banks of the Aras River. Because
Javad Khan of
Ganja remained faithful to the Shah, the Russian general Ivan Petrovich Lazarev attempted to sway Mohammad Khan of Erivan and Kalb-Ali Khan of Nakhichevan to the Russian side. Although both khans at first reacted positively to this, they ultimately declined. and its surroundings between 1795 and 1801 In January 1802, rumours circulated that Fath-Ali Shah had sent one of his commander to
Tabriz to prepare for an invasion of Nakhichevan and the removal of Kalb-Ali Khan from his post. If Mohammad Khan of Erivan did not yield to the Shah, the commander his men were to advance to Erivan and then wait for the Shah and the rest of the Iranian forces to appear. Several other rumours also later circulated, such as the planned Iranian siege of Erivan and attack on Tiflis. None of these rumours turned out be true, as other events had caught the attention of the Shah; the
Wahhabi sack of Karbala, the third campaign in
Khorasan, and the murder of the Iranian envoy Hajji Khalil Khan in
Bombay (now Mumbai). Fath-Ali Shah was busy with these matters from March 1802 to March 1803. On April 21, 1802, Knorring was back in Tiflis. Under the emperors orders, Knorring was to convince the khans of Erivan and Ganja to accept Russian garrisons, in order to protect Georgia from a possible Iranian invasion. During this period Mohammad Khan of Erivan had remained in his fortress, whilst sending contradictory messages to the Shah and Lazarev, declaring his allegiance to both. Lazarev replied back, stating that he needed Knorring's permission to negotiate. Mohammad Khan of Erivan's emissary stayed in Tiflis until receiving Knorring's reply. The latter soon replied, urging Mohammad Khan of Erivan to send a formal request with an official signature and seal to the emperor, so that Erivan could be put under Russian protection. In 1805, Mohammad Khan of Erivan was dismissed to Iran by the Shah due to his interactions with Russia during and after the
siege of Erivan. He was succeeded by
Mehdi Qoli Khan Qajar. Mohammad Khan's son,
Hossein Khan Sardar, served as the last khan of Erivan from 1807 to 1827. His daughter, selected by Fath-Ali Shah himself, married prince
Mahmud Mirza, Fath-Ali Shah's fifteenth son, and became his chief wife. == References ==