Hedayat-Allah Khan was a Gilaki prince, who was the semi-independent ruler of Gilan from 1753 to 1786.
11 Facts About Hedayat-Allah Khan
However, whilst Karim Khan was on an expedition in Azerbaijan, Hedayat-Allah returned to Gilan and re-established his rule in the province.
Hedayat-Allah Khan then appointed his cousin Nazar Ali Khan as the governor of the province, but later altered his stratagem and in 1767 restored Hedayat-Allah as the ruler of Gilan under Zand suzerainty.
In 1782 Agha Mohammad Khan invaded Gilan, Hedayat-Allah had changed his allegiance to the Zand dynasty.
Hedayat-Allah Khan then sent two diplomats, Mirza Sadeq and Agha Sadeq Lahiji, to Agha Mohammad to make peace.
The diplomats were unable to come to favorable terms with Agha Mohammad Hedayat-Allah Khan, who raided Gilan's capital Rasht and seized its riches.
Agha Mohammad Khan now had to focus on Gilan because Hedayat-Allah had returned to the province since the Qajar invasion of the province in 1782.
Furthermore, the Russian consul in Gilan betrayed Hedayat-Allah by providing weapons to Agha Mohammad Khan.
Besides the conquest of Gilan, the second most valuable thing for Agha Mohammad Khan was Hedayat-Allah's treasure.
Gilan flourished under the rule of Hedayat-Allah Khan, who encouraged foreign trade by tempting a substantial amount of Armenians, Russians, Jews, and Indians to Rasht.
Hedayat-Allah Khan preserved an elegant court in Rasht, funded by the silk industry and the sea commerce between Bandar-e Anzali and Astrakhan.