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
Ali Larijani chairman of the parliament. He was re-elected in 2012 elections as the Qom district's high receiving candidate. He was also elected for another term as chairman of the parliament on 5 June 2012 and was sworn in on 11 June 2012. Larijani implied on 21 June 2009 that authorities took the side of one candidate, without clarifying which candidate. Just after the election, Larijani reportedly congratulated presidential candidate Mir Hossein Mousavi as he, having "access to firsthand and classified information and news", believed Mousavi had won the election. However, on 22 October 2012, during a QA meeting with the students