What's the story behind Equatorial Guinea's capital city?

I mean, it's a rare case when country's capital city is in different place instead of its mainland

I mean, it's a rare case when country's capital city is in different place instead of its mainland