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 fact that this was the capital of Mousavi's home province, Eastern Azerbaijan, where Mousavi's rallies were well attended and which has traditionally given good turnouts for even "minor presidential candidates" who came from the province. Ahmadinejad also won Tehran province by over 50%, but crucially lost to Mousavi in the actual city of Tehran and was also soundly beaten in the affluent suburb of Shemiran to the north of the capital. Statistical analyses of the official election results were published in "Journal of Applied Statistics", an online note, in blogs and in "The Washington Post". Clashes broke out between police