Original: Dakar was the capital of the short-lived Mali Federation from 1959 to 1960 , after which it became the capital of Senegal .
Simplified: The city was the capital of the Mali Federation from 1959 to 1960 .