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
2009 Iranian presidential election movement attempted to unite behind a single candidate; former President Mohammad Khatami was the leading opponent to Ahmadinejad in some opinion polls, until he withdrew and endorsed former Prime Minister Mir-Hossein Mousavi. Former Speaker of the Majlis Mehdi Karroubi, another Reformist, was also running; as was the former commander of the Iranian Revolutionary Guard, Mohsen Rezaee, a conservative with a reputation for political pragmatism. The election marked a return to public spotlight for Mousavi, who had not received much attention since he served as Prime Minister in the 1980s. Reformist opinions galvanized around him as the election grew nearer. He