He put forward Ali Akbar Velayati as his prime minister, but the parliament did not give him the vote of confidence, and he was defeated with a vote of 80 to 74. Although Khamenei had strong reservations with Mousavi, as a compromise with the left-leaning parliament, agreed to offer Mousavi for the post of premier. On 28 October 1981, with the approval of Khomeini, the parliament approved Mousavi with a vote of 115 to 39 to become the 79th prime minister of homeland on 31 October 1981.