The Soviet Union agreed to withdraw its troops from Afghanistan.

Representatives from the USSR, the US, Afghanistan, and Pakistan met in Geneva, Switzerland, to sign the Geneva Accords. For the most part, this agreement dictated on what terms the Soviet Union would withdraw from Afghanistan. As a result, most of the USSR’s troops were removed by the end of the year, with the last troops leaving by February 15 the following year.

Source