Battle of Cao Bằng (1979)

The Battle of Cao Bằng was fought between the Chinese People's Liberation Army (PLA) and the Vietnam People's Army (VPA) over the city of Cao Bằng and its vicinity, from the beginning of the Sino-Vietnamese War on 17 February, to 6 March 1979. After the capture of Cao Bằng on 25 February, Chinese forces still had to fight for days to weeks to gain control over other areas in the province against outnumbered Vietnamese defenders. Contrary to the Chinese intention to battle against and defeat some major regular units of the VPA, the PLA found themselves encountering mostly small units of Vietnamese border guards and militia. After the capture of Cao Bằng on 25 February, Chinese forces took Đức Long, a town on Highway 4 on 3 March and connecting the Chinese areas of operations in Cao Bằng and Lạng Sơn. They then shortly declared that they had “attained the goals set for them” in the 17‐day border war and withdrew troops from Vietnam on 5 March 1979. 
Order of battle.
According to Edward C. O'Dowd, the Chinese invasion in Cao Bằng Province was conducted by elements of five armies, spearheaded by the PLA 41st and 42nd Armies from the Guangzhou Military Region and supported by the 50th Army from the Chengdu Military Region, and the 12th and 20th Armies from the Nanjing Military Region. The number of troops probably totaled over 200,000 men, assembling in springboards around Jingxi and Longzhou Counties, Guangxi Province. However, Xiaoming Zhang has given much lower figures of Chinese strength in this front, claiming that the 129th Division of the 43rd Army was the only additional unit besides the leading 41st and 42nd Armies. In contrast, O'Dowd includes this division in the Chinese order of battle in Lạng Sơn.
Facing them were elements of the VPA 346th Division, which had been converted from an economic construction unit into a combat unit since April 1978, consisting of three infantry and one artillery regiments. Its 246th Regiment was stationed at Sóc Giang northwest of Cao Bằng, while the sister 677th Regiment was tasked with defending the Trà Lĩnh area. The remaining infantry regiment, the 851st, had its initial role of a reserve unit. Fire support was provided by the 188th Artillery Regiment, which took its positions along the area between Lũng Lợi and Phù Ngọc. The division was assisted by the independent 31st Regiment positioned at Phục Hòa, the 567th at Trùng Khánh, the 576th at Trà Lĩnh, and a force of 15,000 paramilitaries, including one public security regiment, five local force battalions, and a series of 11 public security stations. The defense at the township of Cao Bằng itself was undertaken by the VPA 481st Regiment.
Battle.
Chinese forces launched their offensive in Cao Bằng at dawn of 17 February. The PLA 41st Army was charged with striking Cao Bằng from the north after seizing Trà Lĩnh, while the 42nd Army was assigned to attack the city from the southeast after taking Quảng Uyên. Another force from the 42nd (otherwise the 129th Division) would be sent through Highway 4 to join with friendly units north of Lạng Sơn, thus enabling the transfer of troops between the two fronts, as well as blocking enemy reinforcements from Thái Nguyên.
The PLA 41st Army's advance was gravely hampered, as it immediately ran into contact with the VPA 677th Regiment on the way. It took the Chinese five days to capture Trà Lĩnh on 22 February, to intrude no more than 10–15 km in another direction against Trùng Khánh. Other elements of the 41st were also bogged down in engagements with Vietnamese forces near Thông Nông. The heaviest fighting was witnessed at Sóc Giang, as the PLA 122nd Division took five days to end Vietnamese resistance there, instead of the two days in original calculation. On 20 February, two Chinese companies and their support elements were pinned down by Vietnamese forces in two separate clashes, resulting in a total of 296 Chinese casualties and six tanks damaged.
The situation was more endurable for the 42nd Army, as by 22 February they had taken Phục Hòa, Thất Khê, Quảng Uyên, and Đông Khê, penetrating some 25 km into Vietnamese territory from Shuikouguan. However, it had failed to meet the 24-hour schedule to obtain the objectives around Cao Bằng, due to difficult terrain and frequent Vietnamese ambushes. The PLA 121st Division had to march for six days to arrive their destination at Khau Đồn, southwest of Cao Bằng. Previously, on 20 February, a Chinese tank unit from the 42nd Army leading the advance into Bắc Sơn had been intercepted and lost a number of tanks to Vietnamese anti-tank missiles; the force had only survived after receiving reinforcements from its parental unit.
According to report from the Vietnamese side, they had severely mauled four Chinese battalions and destroyed scores of enemy tanks and vehicles after the first three days of fighting in the province.
On 23 February, the PLA command realized that Cao Bằng was actually held by only a small number of Vietnamese troops. Instead of waiting for the 41st Army to break through enemy defense from the north, General Xu Shiyou, the overall commander of the Chinese campaign in Vietnam, ordered an immediate assault on the city. Cao Bằng fell on 25 February, yet fighting still went on intensely in other areas throughout the province. On 26 February, the VPA Cao Bằng Front Command was established, headed by Colonel Đàm Văn Ngụy. The new 311th Division was founded three days later to fight alongside the exhausted 346th, comprising the 169th, 529th, and 531st Infantry Regiments plus the 456th Artillery Regiment. On 27 February, Chinese forces captured the Guen Tiat airfield, southwest of Thất Khê, which continued to be contested by both sides afterwards. On the same day, Vietnamese forces staged counter-attacks against the occupied towns of Quảng Uyên and Trà Lĩnh, where Chinese control had not been restored until 2 and 3 March respectively. At 19:30 on 3 March, Chinese forces took Đức Long, a town on Highway 4, thus successfully connecting the Chinese areas of operations in Cao Bằng and Lạng Sơn. On 5 March, the Chinese government announced they had achieved their goals in their 17 day border war and consequently the withdrawal of troops from Vietnam. There was no immediate response from Hanoi to China's announcement.
After China's withdrawal, analysts described the battle as an important Chinese victory in capturing the Vietnamese capital of Lạng Sơn. "They beat the hell out of the Vietnamese," stated one analyst in describing the battle around Lạng Sơn. "The Vietnamese know that; the Russians know that. That is all the Chinese are interested in." Some Bangkok analysts pointed that Vietnam was at least successful in keeping their losses low by avoiding battles between its main-force units stationed near Hanoi with the Chinese forces. Western analysts had stated that a Vietnamese decision to attack the Chinese troops as they withdrew, could lead to retaliation and cause the war to continue.
Aftermath.
Although the Chinese had eventually captured Cao Bằng from the Vietnamese 346th Division, the capture of the city had seriously spoiled their original plan. By 26 February, China claimed to have annihilated the VPA 677th, 681st (probably the 481st), and 246th Regiments. For the duration of the battle, PLA units had been tied down for nearly ten days by a single Vietnamese division. Chinese forces also failed to seek and engage the bulk of Vietnamese regular units. For instance, it took the PLA a whole day searching for VPA regulars in the Ke Map Nua area, 3 km north of Cao Bằng, without any results. With the exception of Sóc Giang, most of the clashes were fought against Vietnamese militia and citizen-soldiers, who had inflicted heavy losses on Chinese troops and held off their invasion. Nevertheless, Vietnam's ultimate loss of Cao Bang and Lạng Sơn exposed the local economy to ruin. Retreating Chinese forces adopted a Scorched earth policy, destroying infrastructure, industrial facilities, and population centers. Restoration of these economic centers was slow as Chinese psychological warfare kept Vietnam on a war footing while China committed to the Chinese economic reform.
The Chinese army waged an energetic counterinsurgency campaign to cover its retreat. In its course, the Chinese were accused of various war crimes by Vietnamese authorities, such as the Tong Chup massacre at the village of Tổng Chúp, Hòa An District on 9 March, in which troopers of the PLA 42nd Army had reportedly executed 43 civilians by axes. Allegations remain largely unverifiable and unbenknowest to the international community as no Western correspondents were able to access the Sino-Vietnamese border region when fighting was occurring. However, the Vietnamese recorded the incident with photographs and interviews. The Xinhua News Agency denied any Chinese involvement in such atrocities.