As fierce fighting broke out between the two sides, the Iranian military started to gain momentum against the Iraqis and regained virtually all lost territory by June 1982, pushing the Iraqis back to the pre-war border lines. Following this, the next five years saw Iran go on the offensive[68] until Iraq took back the initiative in mid-1988, and whose major offensives led to the final conclusion of the war.