Original: Dakar replaced Saint-Louis as the capital of French West Africa in 1902.
Simplified: It was made the capital of French West Africa in 1902.