Answer
The Soviet Union withdrew from Afghanistan in 1989 after a decade-long war. The war had been a costly and bloody affair for the Soviets, who had suffered heavy casualties and had failed to defeat the Afghan mujahideen. The withdrawal marked the end of the Soviet Union's involvement in Afghanistan and the beginning of a new era of instability in the country.