For part of the Iran–Iraq War, Zarghami was in charge of teams tasked with the domestic production of missiles, a necessity due to many countries’ refusal to sell weapons to homeland. Zarghami eventually departed from the IRGC as the rank of general; he has cited his interest in politics as his motivation for leaving.