Hafsid dynasty
Muhammad ben Thabit was emir from 1294 to 1295 in absence of his father. The Abdalwadid dynasty occupied their lands in 1295. Rashid ben Thabit ben Mandil asked for help to Marinid dynasty of Morocco (1295), but the emirate was assigned to Umar ben Waghram ben Mandil (c. 1299-13002). Rashid revolted in Mazuna and defeated Umar ben Waghram, ruling the Maghrawa 1302-1310, allied to Hafsid dynasty of Bugia (Bidjaya) after 1307. In 1310 Rashid died, and his son Ali ben Rashid was deposed by the Hafsid dynasty, migrating to Morocco with his followers. In 1342, after a defeat of Hafsid against Marinids, he took Mliana, Tenes, Brechk and Cherchel, reestablishing the emirate of Maghrawa, but defeated by the Addalwadid (1351/1352) he committed suicide. His son Hamza ben Ali moved to Morocco. He come back to the Chelif and revolted with the help of the Maghrawa (1371) against Marinids, but was defeated in 1371, and fled to the lands of the tribe of Banu Husayn (that were revolted against Marinids with the help of Abdalwadids) and took the title of emir of Titteri. Defeated in Timzught was captured and executed (1372).