In the military cabinet formed by Gholam Reza Azhari Rabii served as an acting minister of housing briefly from November to December 1978. However, Hassan Toufanian, deputy defense minister, and Rabii did not cooperate with Azhari arguing that the prime minister had assigned mostly army officers as cabinet members.