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