Before revision: However, Soviet efforts bogged down due to Afghan resistance , in which foreign nations (primarily the United States) supported the mujahideen due to the geopolitics of the Cold War.
After revision: However, Soviet efforts bogged down due to resistance of Islamist Afghani groups against Soviet-backed DPA government , in which foreign nations (primarily the United States) supported the mujahideen due to the geopolitics of the Cold War.