Morier’s work is rumored to have been based on the life and character of a prominent figure during the Qajar period, Abolhasan Khan Ilchi, who served as the Special Iranian Ambassador to England from about 1810 to 1813 and wrote Heyratnameh (The Book of Wonders), the accounts of his travels to England. --hajji.netfirms.com