 After ending the crisis and twenty months of reign in Maragheh, Ali Khan went to Tabriz and formally resigned from governor of Maragheh there and stayed in Tabriz for a while.During the time, Hasan Ali Khan Garroosy intended to suppress the scoundrels of the borderlands and in order to prevent an evil event in his absence in the lands of Azerbaijan, he formed a parliament titled Public Majlis of Azerbaijan from authorities and governors of the lands and assigned Ali Khan to supervise the mentioned parliament.In Shawwal the same year Hijri, due to the illness of Sani'ol-Doleh, the governor of Urmia, Ali Khan was appointed for the post and remained as governor of Urmia until the end of Jumada al-awwal 1300.