Prime ministership of Mir-Hossein Mousavi forward Ali Akbar Velayati as his prime minister, but the Iranian parliament did not give him the vote of confidence, and he was defeated with a vote of 80 to 74. Subsequently, Ali Khamenei, though he had strong disagreements with Mousavi, as a compromise with the left-leaning parliament, agreed to offer him, Mousavi, for the post of premier. On 28 October, the parliament approved Mousavi with a vote of 115 to 39. Mousavi became the 79th prime minister of Iran on 31 October 1981, and remained the prime minister of Iran until 3 August 1989, for eight years. The conflicts
History of the Islamic Republic of Iran parliament. Despite high turnout and large enthusiastic crowds for reformist opponent Mir-Hossein Mousavi, Ahmadinejad was officially declared to have won by a 2–1 margin against three opponents. Allegations of voting irregularities and protest by Mousavi his supporters were immediate and continued off and on into 2011. Some 36–72 were killed and 4000 arrested. Supreme Leader Ali Khamenei declared Ahmadinejad's victory a "divine assessment" and called for unity. He and others Islamic officials blamed foreign powers for fomenting the protest. However, by late 2010 several sources detected a "growing rift" between Ahmadinejad, and Khamenei and his supporters, with talk of impeachment