Islam was introduced through Toucouleur and Soninke contact with the Almoravid dynasty of the Maghreb, who in turn propagated it with the help of the Almoravids and Toucouleur allies. This movement faced resistance from ethnicities of traditional religions, the Serers in particular.