Both sides eventually withdrew to the international border in the coming weeks, with Resolution 598 becoming effective on 8 August 1988, ending all combat operations between the two countries.[102] By 20 August 1988, peace with Iran was restored.[102] UN peacekeepers belonging to the UNIIMOG mission took the field, remaining on the Iran–Iraq border until 1991. While the war was now over, Iraq spent the rest of August and early September clearing the Kurdish resistance.