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 in Shiraz, "Haft-e-tir Martyr's tomb" in Tehran's Behesht-e Zahra, and "Salman mosque" in the presidential residence are examples of his work. In recent years, he has been more active in painting and has participated in many exhibitions. Mousavi refused to run for the presidency in the 1997 elections, which caused the reformists to turn to his former Cabinet Minister, then a little-known cleric, Mohammad Khatami, who was elected by a landslide. During Khatami's administration, Mousavi served as the Senior Adviser to the President. Mousavi was considered the leading candidate from the reformist alliance to run in the Iranian presidential election,