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.
Hossein Shariatmadari Mir Hossein Mousavi was trying to "escape punishment for murdering innocent people, holding riots, cooperating with foreigners and acting as America's fifth column inside the country" and called for Mousavi and former reformist President Mohammad Khatami to be tried in court for "horrible crimes and treason." In 2009, during the first contested presidential elections, Shariatmadari was announced that Mohammad Khatami would risk the same fate of Benazir Bhutto if he was elected. After the elections, alongside the Green Party protests, Shariatmadari accused Mir Hossein Mousavi of being a fifth column of the US and causing the deaths of many people.