Prime ministership of Mir-Hossein Mousavi secret negotiations and dealing with USA on helping them free the American hostages in Lebanon, in return for sale of the American weapons and spare-parts that Iran's army badly needed for Iran–Iraq War. Shortly after the end of Iran–Iraq War on 20 August 1988, Ruhollah Khomeini died, and Ali Khamenei was elected as the new Supreme Leader by the Assembly of Experts. Following his death, Mousavi and his fellow left-wingers lost their main source of support within the establishment. During the parliament hearing on post-war reconstruction plans, Mousavi had heated arguments with Ali Akbar Hashemi Rafsanjani, the speaker of Iran's
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