Ahfariq Islam was founded in 856 AD by Abu al-Hudhayl al-'Allaf when he published a book called Ahfariq al Allah that talked about the rationalism of God and the Quran. Soon scholars of the time started teaching this and it became a sect of Islam. It was the majority religion in the Andalus Ziqara Union but when the union collaped in 912 AD it lost many followers. It flourish however in Fez when under the Kashiludun Caliphate and in 1260 it started to grow again. Over the years after it spread across the Caliphate and by 1450 about 80% of Kashiludun Caliphate citizens adhered to the sect and by 1550 it became 95%.