But the hardliners struck back. When Khatami’s reform program was ineffective, Mahmoud Ahmadinejad, an obscure officer of the Basij militia, was elected Mayor of Tehran in 2003 (after just 12% of the city’s voters turned out), and then defeated Rafsanjani in 2005 to become President.