Hisham ibn Abd al-Malik
Ṣāliḥ ibn Tarīf, the second leader of the Berghouata, proclaimed himself prophet of a new religion in the 8th century. He appeared during the caliphate of the Umayyad Caliph Hisham ibn Abd al-Malik. According to Ibn Khaldun's sources, he claimed receiving a new revelation from God called a Qur'an, written in the Berber language with 80 chapters. He established laws for his people, which called him "Salih al-Mu'minin" ('Restorer of the Believers'), and the final Mahdi.