Ali Akbar Velayati health from November 1980 to July 1981 in the cabinet of Mohammad-Ali Rajai. After winning the presidential election on 13 October 1981, then President Ali Khamenei proposed Velayati as his prime minister to the Parliament of Iran, but Parliament voted against him on 22 October. Khamenei later proposed Mir-Hossein Mousavi, who gained Parliament's approval. In November 1986, Velayati argued that Iran should have diplomatic ties with all countries. During the premiership of Mousavi, Velayati served as the minister of foreign affairs. After the election of Hashemi Rafsanjani as president, he retained his post until 1997, when Rafsanjani's term was ended.
Mir-Hossein Mousavi as well as the conservative newspaper "Jomhouri-e Eslami", supported Mousavi's candidacy, he did not receive the official backing of any major conservative party. His candidacy made it harder for the conservatives to support Mahmoud Ahmadinejad, and large conservative parties, such as the Combatant Clergy Association, did not back the current President for a second term of office. Mousavi had on numerous occasions indicated his wish to change the constitution in order to remove the existing ban on the private ownership of television stations (currently all Iranian television stations are state-owned), as well as transfer the control of the law-enforcement forces