Akbar Hashemi Rafsanjani to Ruhollah Khomeini. This led to the establishment of Expediency Discernment Council, which later he chaired the council. He had an active role in Iran–Contra affair, which was divulged by Mehdi Hashemi and failed. Mehdi Hashemi was executed but Rafsanjani was the loser at internal dimension. In October 1981 presidential election, when he voted to Ali Khamenei, he said it's vote of "Imam (Khomeini), clerics and the parliament". During differences between Prime Minister Mir-Hossein Mousavi and Khamenei, Hashemi cleverly managed to keep the position favor or against these two perspectives and take the middle position. According to Bahman Bakhtiari, at
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,