By: Mir M.Hosseini
After the fall of the Safavi dynasty and capture of capital Isfahan, crown prince Tahmasp Mirza fled to Qazvin and proclaimed king with crown name Shah Tahmasp 2. Amir Mahmoud of Kandahar who had imprisoned most of the royal family, sent his army to suppress the uprising. His army was trapped in Qazvin and about 2000 troops were killed. Upon hearing the news of his defeat, Amir Mahmoud ordered execution of most of the Safavi family in revenge.
Tahmasp Mirza, just like his father Sultan Hossein made some wrong political decisions including agreements that gave concessions to Russians and Ottomans so that they'd recognize his kingdom in return. Tahmasp was deposed when Nader shah ascended the throne. Nader created a powerful army that took back most of Iran's territory from invaders and entered a glorious era under Afshar dynasty for a short period of time.