[1] Until the end of the Safavid dynasty, the city of Tabriz and the surrounding regions belonged to Iran and was the capital of the province (beglarbegi) of Azerbaijan.
With the war of succession between the Qajar and Zand princes for the throne of Iran, the Donboli lords of Khoy and Salmas established their rule in Tabriz and extended their influence over the whole province.
[5] Agha Mohammad Khan Qajar's invasion of Azerbaijan in 1791, destroyed the Sarab Khanate, who gave Tabriz back to the Donbolis.
Upon his death in 1797, Sadiq Khan Shaqaqi revolted against the new Iranian ruler, Fath-Ali, and attempted to seize the lands of the Donboli, but was repulsed.
[6] Fath-Ali Khan Qajar heard of the news in Dh'ul Qadah 1212 (April–May 1798) and made a farman to discourage the elites of Tabriz from supporting the alliance.