and a strong Iranian force came to help him. He retained control of the khanate, in the name of the Shah, until he was forced to abandon it in 1828 by the Treaty of Turkmenchay. After Mir Hasan Khan's death, his children came under Abbas Mirza's patronage, with Mir Kazem Khan becoming the governor of Vilkij, Astara, Ujarud, and Namin, forming the Namin Khanate. His rule, and that of his children, over those areas, lasted a century, ending with the fall of the Qajars. In popular culture The Talysh Khans proved a stimulating subject for famed Azeri poet-playwright Mirza Fath-Ali Akhundzadeh (1812–1878). A 1938 production of his The Adventures of the Vizier of the Lankaran's Khan (1851), starred the future president of Republic of Azerbaijan, Heydar Aliyev, then just a teenager. Rulers Footnotes Notes References Sources Further reading 18th century in Azerbaijan Khanates of the South Caucasus Iranian dynasties