France had ruled Vietnam, Laos, and Cambodia as French Indochina since the late nineteenth century. During World War II Japan occupied the colony while leaving French administrators in place until March 1945, when it swept them aside. Japan's surrender that August left a vacuum. The Viet Minh, a nationalist front organized by the communist Ho Chi Minh, seized Hanoi, and on September 2, 1945, Ho proclaimed the Democratic Republic of Vietnam.
France, determined to recover its empire and its standing as a great power, sent troops back. Negotiations failed over whether Vietnam would be truly independent and united. After a French naval bombardment of Haiphong in November 1946 killed thousands of civilians, the Viet Minh attacked French positions in Hanoi in December and withdrew to the countryside.
For three years the conflict was a colonial war: French forces held the cities and roads, and the guerrillas held the villages and the night. The communist victory in the Chinese Civil War in 1949 transformed it. China now supplied the Viet Minh with weapons, training, and sanctuary, allowing General Vo Nguyen Giap to build regular divisions. The United States, which had been cool to French colonialism, now saw the war as a front in Containment; by 1954 it was paying roughly three-quarters of France's costs. France set up a nominally independent Vietnamese state under the former emperor Bao Dai, but it never won popular standing. The Viet Minh's promise of land to the peasants did.
In 1954 the French command tried to draw Giap into a set-piece battle at a remote valley base. The Battle of Dien Bien Phu ended in the garrison's surrender on May 7. At the Geneva Conference that summer, France agreed to withdraw. Laos and Cambodia became independent, and Vietnam was divided at the 17th parallel pending elections.
Those elections were never held, and the division led to the Vietnam War. The French defeat encouraged the nationalists who began the Algerian War of Independence months later. The CED lists this war as independence through armed struggle, and it is a prime example of an anticolonial war absorbed into the Cold War.