Mir-Hossein Mousavi nominated Mousavi as his foreign minister, however Banisadr opposed the nomination and Mousavi was not appointed. On 15 August 1981, as part of the restructuring of the government in Rajai's cabinet, Mousavi was appointed foreign minister. He held the post until 15 December 1981, when he received the higher appointment of prime minister. In August 1981, President Mohammad-Ali Rajai and Prime Minister Mohammad-Javad Bahonar were assassinated in an explosion. Ali Khamenei was then elected as the third president of Iran in the Iranian presidential election, October 1981. He put forward Ali Akbar Velayati as his prime minister, but the Iranian
2009 Mir-Hossein Mousavi presidential campaign been receiving discouraging messages from "the higher officials", a hint possibly at the Supreme Leader Ali Khamenei and/or the then President Akbar Hashemi Rafsanjani. Mousavi was considered as one of the possible candidates of the reformist alliance to run in the Iranian Presidential election, 2005. However he officially turned down the invitation of a number of parties in the reformist alliance on October 12, 2004, after a meeting with President Mohammad Khatami and the two other high-ranking members of the Association of Combatant Clerics, Mehdi Karroubi and Mohammad Mousavi-Khoiniha. Mousavi ran as an independent Principled Reformist candidate. Although he is