Input (grade 11): The final troop withdrawal started on May 15, 1988, and ended on February 15, 1989 under the last Soviet leader Mikhail Gorbachev.
Output (grade 4): Then, from 15 May 1988, the Soviet troops started to leave Afghanistan. This continued until 2 February 1989.