 After Gasem's death (1289), Saheb Divan was removed from governor of Azerbaijan in 1296 and Ali Khan was assigned to Azerbaijan along with a group with the crown prince and was appointed as governor of Maragheh.Ali Khan began photography en route to Maragheh and added pictures of the city hall and authorities of Maragheh to the first pages of his album.During Ali Khan's reign in Maragheh, the city was cleansed from thieves and security was established.