Equatorial Guinea was under Portuguese rule from 1648 to 1778, then transferred to Spain by the treaties of San Ildefonso and El Pardo.
This is an unverified post from the original @OnlyAfricaFacts archive, not yet checked against sources or developed into a full article.