Afsharid dynasty
The Afsharid dynasty was named after the Turkic Afshar tribe to which they belonged. The Afshars had migrated from Turkestan to Azerbaijan in the 13th century. The dynasty was founded in 1736 by the military commander Nader Shah who deposed the last member of the Safavid dynasty and proclaimed himself King of Iran. Nader belonged to the Qereqlu branch of the Afshars. During Nader's reign, Iran reached its greatest extent since the Sassanid Empire.