Sino-Soviet relations
Soviet withdrawal from Afghanistan was one of the conditions pushed by China for any détente in Sino-Soviet relations. China saw the Soviet presence as a regional threat to itself (to prevent the USSR from encircling China) and a threat to its ally Pakistan. With possible United States support, China supplied weapons to Afghan guerrillas against the Soviet puppet government.