After that, he was appointed as Deputy Prime Minister by Mehdi Bazargan just hours before his resignation. He was also spokesman of the caretaker government and held the post until Mohammad-Ali Rajai became new prime minister. He was also a candidate in the 1980 presidential election, placing fifth among one hundred and twenty-seven candidates.