Numerous communities of dark-skinned peoples are present in North Africa, some dating from prehistoric communities. Others are descendants of the historical Trans-Saharan trade in peoples and/or, and after the Arab invasions of North Africa in the 7th century, descendants of slaves from the Arab Slave Trade in North Africa.
When were the Arab Invasions?
the 7th century