Vietnam was colonized by France and was part of French Indochina from the late 19th century until 1954. French rule lasted nearly 70 years, ending after the Battle of Dien Bien Phu and the Geneva Accords, which temporarily divided Vietnam at the 17th parallel.