lower Aras towards Dagestan and Shirvan, while the Shah headed the centre force himself, advancing towards the fortress of Shusha in the Karabakh Khanate, which he besieged between 8 July and 9 August 1795. His right and left wing forced the Khans of Ganja and Erivan into alliance respectively. Having abandoned the siege of Shusha due to stiff resistance, which was further aided by Georgian crown prince Aleksandre, the Khan of Karabakh, Ibrahim Khan, eventually surrendered to Mohammad Khan after discussions, including the paying of regular tribute and to surrender hostages, though the Qajar forces were still denied entrance to Shusha. Since the main objective was Georgia, Mohammad Khan was willing to have Karabakh secured by this agreement for now, for he and his army subsequently moved further. While at Ganja, having secured Shirvan, he was joined by Javad Khan Qajar and the rest of his right wing contingent. At Ganja, Mohammad Khan sent Erekle his last ultimatum, who received it in September 1795: According to the author of the Fārsnāma-ye Nāṣeri, Ḥasan-e Fasāʼi, a contemporary Qajar era historian, Agha Mohammad Khan had declared in the letter: His advisors divided, Erekle ignored the ultimatum, but, sent couriers to St.Petersburg. Gudovich, who sat in Georgievsk at the time, instructed Erekle to avoid "expense and fuss", while Erekle, together with Solomon II and some Imeretians headed southwards of Tbilisi to fend off the Iranians. Agha Mohammad Khan at the same time marched directly on Tbilisi, with half of the army he crossed the Aras river with, though other estimations mention 40,000 instead of 35,000, and attacked the heavily fortified Georgian positions of Erekle and Solomon on the southwestern limits of the city. Abandoned by several of his nobles, Heraclius II managed to mobilize around 5,000 troops, including some 2,000 auxiliaries from neighbouring Imereti under its King Solomon II, a member of the Georgian Bagrationi Dynasty and thus distantly related to Heraclius II. The Georgians offered a desperate resistance and succeeded in rolling back a series of Persian attacks on September 9 and 10. After that, it is said that some traitors informed the Persians that the Georgians had no more strength to fight and the Qajars army cancelled their plan of going back to Persia, which they previously had. Early on September 11, Agha Mohammad Khan personally led an all-out offensive against the Georgians. Amid an artillery duel and a fierce cavalry