There is a stark difference between North Africa and sub Saharan Africa
Algeria was a French colony until 1950, I forget the exact date. I guess all of Africa were colonies of England, Dutch, Portugal, Belgium, etc
The Roman Empire had contact with North Africa such as the Punic wars but not sub Saharan