The Soviet-Afghan War began in 1978 when the Soviet Union intervened to support the communist government in Afghanistan against anti-communist mujahideen rebels. The intervention sparked condemnation from Western nations and the US began supporting the mujahideen to resist the Soviets. The war led to over 1 million Afghan deaths and the withdrawal of Soviet troops in 1989, marking the beginning of the end of the Soviet Union. For Afghanistan, it was the beginning of decades of continued conflict.