Abdallah ibn Yasin
The Barghawatas ruled in the Tamesna region for more than three centuries (744–1058). Under the successors of Salih ibn Tarif, Ilyas ibn Salih (792-842); Yunus (842-888) and Abu Ghufail (888–913) the tribal kingdom was consolidated, and missions sent to neighbouring tribes. After initially good relations with the Caliphate of Cordoba there was a break at the end of the 10th century with the ruling Umayyads. Two Umayyad incursions, as well as attacks by the Fatimids were fought off by the Barghawata. From the 11th century there was an intensive guerrilla war with the Banu Ifran. Even though the Barghawata were subsequently much weakened, they were still able to fend off Almoravid attacks—the spiritual leader of the Almoravids, Abdallah ibn Yasin, fell in battle against them on 7 July 1058. Only in 1149 were the Barghawata eliminated by the Almohads as a political and religious group.