In 1947, after democratic French politics resumed under the Fourth Republic, Mendès France was re-elected to the National Assembly. He first tried to form a government in June 1953, but was unable to gain the numbers in the Assembly. From 1950 he had been a consistent opponent of French colonialism, and by 1954 France was becoming hopelessly embroiled in major colonial conflicts: the First Indochina War and the Algerian War of Independence. When French forces were defeated by the Vietnamese Communists at Dien Bien Phu in June 1954, the government of Joseph Laniel resigned, and Mendès France formed a government with Communist Party support.