Dakar is a capital of which nation?

Dakar is the capital and largest city of Senegal.