What is the only African state in which Spanish is an official language?

Culture Trivia: What is the only African state in which Spanish is an official language?