The Barghawata (also Barghwata or Berghouata) were a confederation of Berber tribes of the Atlantic coast of Morocco, belonging to the Masmuda group of tribes. After allying with the Sufri Kharijite rebellion in Morocco against the Umayyads, they established an independent state (CE 744 - 1058) in the area of Tamesna on the Atlantic coast between Safi and Salé under the leadership of Tarif al-Matghari.
Some historians believe that the term Barghawata is a phonetic deformation of the term Barbati, a nickname which Tarif carried. It is thought that he was born in the area of Barbate, near Cádiz in Spain. However, Jérôme Carcopino and other historians think the name is much older and the tribe is the same as that which the Romans called Baquates, who up until the 7th century lived near Volubilis.
After the conversion to Islam at the beginning of the 8th century and the Maysara uprising (CE 739-742), the Barghawata Berbers formed their own state on the Atlantic coast between Safi and Salé.
The Barghawata kingdom followed a syncretic religion inspired by Islam (perhaps influenced by Judaism) with elements of Sunni, Shi'a and Kharijite Islam, mixed with astrological and traditional Berber beliefs. Supposedly, they had their own Qur'an in the Berber language comprising 80 suras under the leadership of the second ruler of the dynasty Salih ibn Tarif who had taken part in the Maysara uprising. He proclaimed himself a prophet. He also claimed to be the final Mahdi, and that Isa (Jesus) would be his companion and pray behind him.
Morocco
Syncretism