French West Africa (Afrique-Occidentale française, AOF) was a federation of eight French colonial territories in West Africa: Mauritania, Senegal, French Sudan (now Mali), French Guinea (now Guinea), Ivory Coast, Upper Volta (now Burkina Faso), Dahomey (now Benin) and Niger. The federation existed from 1895 until 1958. Its capital was Saint-Louis, Senegal until 1902, and then Dakar until the federation's collapse in 1960. With an area of 4,689,000 km2, French West Africa was eight times the size of Metropolitan France. French Equatorial Africa had an additional area of 2,500,000 km2. Until after World War II, almost none of the Africans living in the colonies of France were citizens of France. Rather, they were "French subjects", lacking rights before the law, property ownership rights, rights to travel, dissent, or vote. The exception was the Four Communes of Senegal: those areas had been towns of the tiny Senegal Colony in 1848 when, at the abolition of slavery by the French Second Republic, all residents of France were granted equal political rights. Anyone able to prove they were born in these towns was legally French. They could vote in parliamentary elections, which had been previously dominated by white and mixed-race residents of Senegal. The Four Communes of Senegal were entitled to elect a deputy to represent them in the French parliament in 1848–1852, 1871–1876, and 1879–1940. In 1914, the first African, Blaise Diagne, was elected as the deputy for Senegal in the French Parliament. In 1916, Diagne pushed a law through the National Assembly (loi Blaise Diagne) granting full citizenship to all residents of the so-called Four Communes. In return, he promised to help recruit millions of Africans to fight in World War I. Thereafter, all black Africans of Dakar, Gorée, Saint-Louis, and Rufisque could vote to send a representative to the French National Assembly. As the French pursued their part in the scramble for Africa in the 1880s and 1890s, they conquered large inland areas, and at first, ruled them as either a part of the Senegal colony or as independent entities.