France's foothold in West Africa was the old trading town of Saint-Louis at the mouth of the Senegal River. In the 1850s Governor Louis Faidherbe began pushing inland, and from about 1880 French officers, often acting ahead of orders from Paris, drove east across the savanna toward the Niger and Lake Chad. They overcame the Tukulor empire, fought Samory Touré and his Wassoulou Empire for sixteen years before capturing him in 1898, and conquered the Kingdom of Dahomey in the 1890s. Boundaries with British and German territory were fixed by treaties negotiated in Europe in the wake of the Berlin Conference. The CED lists the federation as an example of European states expanding in Africa through warfare and diplomacy.
In 1895 the conquests were grouped under a governor-general, based from 1902 at Dakar. The federation eventually comprised Senegal, French Sudan (now Mali), Guinea, Ivory Coast, Dahomey (Benin), Upper Volta (Burkina Faso), Niger, and Mauritania: a territory about eight times the size of France but thinly populated.
French doctrine was centralized and, in theory, assimilationist. Inhabitants of four old coastal towns of Senegal, the Four Communes, were French citizens who elected a deputy to parliament; in 1914 they chose Blaise Diagne, the first Black African to hold the seat. Everyone else was a subject, governed by French commandants through appointed chiefs, liable to summary punishment under the indigénat, to head taxes, and to forced labor on roads, railways, and plantations. The colonies exported peanuts, cotton, cocoa, and coffee, and supplied soldiers: the tirailleurs sénégalais fought for France in both world wars (Colonial Troops in World War I). Resistance to conscription and taxes continued into the interwar years (West African Resistance to French Rule).
A French-educated elite emerged, among them Léopold Sédar Senghor, poet of Negritude Movement. After 1945 forced labor and the indigénat were abolished and Africans gained representation in Paris. In a 1958 referendum only Guinea voted for immediate independence; the other territories negotiated theirs in 1960 (Independence of French West Africa), a largely peaceful transition that contrasts with the wars in Algeria and Indochina.