after the muslim conquest of the maghreb, the mozabites became muslims of the mu'tazili school. after the fall of the rostemid state, the rostemid royal family with some of their citizens chose the mzab valley as their refuge. however, the rostemids were ibadi and sent a preacher (abu bakr an-nafusi) who successfully converted the indigenous mozabites.