In the late 1980s, without ending the war, foreign troops withdrew from Afghanistan, which prolonged the conflict for three decades.