During the Cold War , after the withdrawal of the British from neighboring India in 1947, the United States and the Soviet Union began spreading influences in Afghanistan, which led to a bloody war between the US-backed mujahideen forces and the Soviet-backed Afghan government in which over a million Afghans lost their lives.