 In a major turning point in the course of Soviet-Vietnamese and Sino-Vietnamese diplomatic relations, and ultimately the Vietnamese invasion of Kampuchea, a Treaty of Friendship and Cooperation was signed between Vietnam and the Soviet Union on 3 November 1978, which guaranteed the former of vital Soviet military aid in the scenario that China intervened in the conflict. Later, in November 1978, a command and control headquarters was established for the planned invasion of Kampuchea, with Senior General Lê Đức Anh taking full control of VPA units along the border areas. The Vietnamese government drafted 350,000 men into the military to replace earlier losses and augment its units along the border. While the new recruits were completing training, ten divisions were deployed to the border regions of Long An, Đồng Tháp and Tây Ninh provinces. Vietnam also shifted three divisions based in Laos south towards the Laos-Kampuchea border. On 13 December 1978, the Chinese Government warned Vietnam that its patience was limited, and that Vietnam would be punished if it behaved in an "unbridled fashion".
