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
Mir-Hossein Mousavi was Khatami, have supported his candidacy after the latter withdrew from the race. Many supporters of the reformist movement, however, objected to Mousavi's candidacy on the grounds that he was not committed to the principles of the reformist parties. Although Mousavi stated that he was not running as a reformist, he indicated that he welcomed the support of different parties, both reformist and conservative. He started his campaign from the center of Iranian politics; over time, he shifted more towards the left by declaring his support for reforms. Although some active members of the conservative camp, such as Emad Afroogh,