qnli question: When did the Iran-Iraq War finally end? sentence: The war continued until 1988, when the Iraqi army defeated the Iranian forces inside Iraq and pushed the remaining Iranian troops back across the border.