Карим-хан
Karim Khan declared Shiraz his capital, and in 1778 Tehran became the second capital. He gained control of central and southern parts of Iran. In order to add legitimacy to his claim, Karim Khan placed the infant Shah Ismail III, the grandson of the last Safavid king, on the throne in 1757. Ismail was a figurehead king and real power was vested in Karim Khan. Karim Khan chose to be the military commander and Alimardan Khan was the civil administrator. Soon enough Karim Khan managed to eliminate his partner as well as the puppet king and in 1760, founded his own dynasty. He refused to accept the title of the king and instead named himself "Vakilol Ro'aya" ("Advocate of the People").