In collaboration with a political writer, Sayyid Ziya al-Din Tabatabaʾi, Reza Khan staged a coup in 1921 and took control of all military forces in Iran. Between 1921 and 1925 Reza Khan—first as war minister and later as prime minister under Aḥmad Shah—built an army that was loyal solely to him. He also managed to forge political order in a country that for years had known nothing but turmoil. Initially Reza Khan wished to declare himself president in the style of Turkey’s secular nationalist president, Mustafa Kemal Atatürk—a move fiercely opposed by the Shiʿi ulama—but instead he deposed the weak Aḥmad Shah in 1925 and had himself crowned Reza Shah Pahlavi.