photographed and published to
Kayhan (the execution of Rahimi,
Naji,
Nassiri and
Khosrodad – 15 February 1979)|alt= Shortly after the Iranian Revolution in February 1979 and the takeover of all military bases and police stations by the pro-
Khomeini Islamists, Rahimi was spotted by a subordinate as he was walking away from a military base near
Sepah Square and arrested. By his own account as stated during his televised interrogation, Rahimi was beaten and tortured by the Islamic revolutionaries, arrested and taken to
Refah School in Central Tehran. The interrogation which lasted 5 hours, resulted in a death sentence for Rahimi, as well as three other high-profile generals of the former regime.
Sadegh Khalkhali presided over the proceedings and announced his death sentence on the charge of "
Warring with God" and "
Corrupter on Earth". Rahimi was executed by a firing squad at midnight just before 16 February 1979, on the rooftop of Refah School, which was used as a temporary residence by
Ayatollah Khomeini. He refused to be blindfolded and stated that he wanted to die like a general loyal to his commander-in-chief. It has been said that his last words were "
Javid Shah" ("
long live the Shah") and the expression of loyalty to Iran. ==Personal life==