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 towards the incumbent president. This finding almost exactly matches up with the proportion of the vote that Ahmadinejad received. On 1 June, a campaign office of Ahmadinejad's primary opponent, Mir-Hossein Mousavi, was torched. The office was located in the city of Qom. No group claimed responsibility for the attack. At the same time, it was reported that an assassination had been attempted against former president Mohammad Khatami by means of a bomb placed on an aircraft he was to board. Mobile phone communications were interrupted in Tehran on election day and the BBC has stated that "heavy electronic jamming" was