Hotaki dynasty

The Hotaki dynasty was a dynasty founded by Pashtun Ghiji tribe. In 1709 by Mirwais Hotak at Kandahar, Afghanistan. They revolted and made their land independent from foreign ruler, but later they invaded Persia and defeated the great Iranian Empire of the Shi'a Safavids.
Mahmud Hotaki, son of Mirwais, ruled Persia until he died in 1725 and then his cousin Ashraf ruled until 1729 when Nader Shah Afshar defeated him.
The last king was Hussain Hotaki in Kandahar until he was defeated by Nader Shah in 1738.
References.
Notes