The spread of Islam in Africa began in the 7th to 9th century, brought to North Africa initially under the Umayyad Dynasty. Extensive trade networks throughout North and West Africa created a medium through which Islam spread peacefully, initially through the merchant class.