Since 1831, the Legion has consisted of hundreds of thousands in active service at its peak, and suffered the aggregated loss of nearly 40,000 men in France, Algeria, Morocco, Tunisia, Madagascar, West Africa, Mexico, Italy, Crimea, Spain, Indo-China, Norway, Syria, Chad, Zaïre, Lebanon, Central Africa, Gabon, Kuwait, Rwanda, Djibouti, former Yugoslavia, Somalia, the Republic of Congo, Ivory Coast, Afghanistan, Mali, as well as others. The French Foreign Legion was primarily used to help protect and expand the French colonial empire during the 19th century. The Foreign Legion was initially stationed only in Algeria, where it took part in the pacification and development of the colony. Subsequently, the Foreign Legion was deployed in a number of conflicts, including the First Carlist War in 1835, the Crimean War in 1854, the Second Italian War of Independence in 1859, the French intervention in Mexico in 1863, the Franco-Prussian War in 1870, the Tonkin Campaign and Sino-French War in 1883, supporting growth of the French colonial empire in Sub-Saharan Africa, the Second Franco-Dahomean War in 1892, the Second Madagascar expedition in 1895 and the Mandingo Wars in 1894. In World War I, the Foreign Legion fought in many critical battles on the Western Front. It played a smaller role in World War II than in World War I, though having a part in the Norwegian, Syrian and North African campaigns. During the First Indochina War (1946–1954), the Foreign Legion saw its numbers swell. The Legion lost a large number of men in the catastrophic Battle of Dien Bien Phu against forces of the Viet Minh.