At this point, elements of the Iranian leadership, led by Rafsanjani (who had initially pushed for the extension of the war), persuaded Khomeini to accept the ceasefire. On 20 July 1988, Iran accepted Resolution 598, showing its willingness to accept a ceasefire.