Although Iraq hoped to take advantage of Iran's revolutionary chaos and attacked without formal warning, it made only limited progress into Iran and was quickly repelled; Iran regained virtually all lost territory by June 1982. For the next six years, Iran was on the offensive.