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 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