Input (grade 4): Dakar replaced Saint-Louis as the capital of French West Africa in 1902.
Output (grade 3): It was made the capital of French West Africa in 1902.