The Hotak dynasty (Pashto: د هوتکيانو ټولواکمني Persian: امپراتوری هوتکیان) was an Afghan monarchy founded by Ghilji Pashtuns that briefly ruled portions of Iran and Afghanistan during the 1720s.
He did not reign long as he was killed by his nephew Mahmud, who deposed the Safavid Shah and proclaimed his own rule over Iran.
Ashraf also did not retain his throne for long, as the Iranian conqueror Nader-Qoli Beg (later Shah), leading the resurgent Safavid banner, defeated him at the Battle of Damghan of 1729.
Subsequently, Nader Shah began re-establishing Iranian suzerainty over regions lost decades before to Iran's archrivals—the Ottoman and Russian Empires.
This power vacuum allowed tribal groups like the Turkmen, Baluch, Arabs, Kurds, Dagestanis, and Afghans to constantly raid frontier provinces.
[6][7] In 1704, the Safavid Shah Husayn appointed his Georgian subject and king of Kartli George XI (Gurgīn Khān), a convert to Islam, as the governor of Kandahar.
He managed to get a fatwa from the religious authorities approving Mirwais's plan to overthrow tyrannical Safavid rule.
After his peaceful passing in November 1715 from natural causes, his brother Abdul Aziz succeeded him; the latter was murdered later by Mirwais' son Mahmud after having only ruled for eighteen months.
[16] The siege lasted about six months and the people of Isfahan were in such a state of hunger that they were forced to eat rats and dogs.
[18] For the next seven years until 1729, the Hotaks were the de facto rulers of most of Persia, and the southern areas of Afghanistan remained under their control until 1738.
The Hotak dynasty was a troubled and violent one from the very start as an internecine conflict made it difficult to establish permanent control.
The majority of Persians rejected the leaders as usurpers, and the dynasty lived under great turmoil due to bloody succession feuds that made their hold on power tenuous.
Nader Shah had driven out and banished the remaining Ghilji forces from Persia and began enlisting some of the Abdali Afghans of Farah and Kandahar in his military.