Humans originated in Africa, so Africans were there long before any "white" (European) groups. The earliest known Europeans to reach Africa were:
Sub-Saharan Africa saw sustained European contact only from the 15th century onward (Portuguese exploration). Later, colonial partition (1880s) brought widespread European administration. The narrative of "white people getting into Africa" spans millennia of trade, colonization, and migration—not a single event.