The
Hammadids were a Sanhaja
Berber dynasty who ruled an area roughly corresponding to north-eastern modern
Algeria for about a century and a half (1008–1152), until they were destroyed by the
Almohads. Soon after coming to power, they rejected the
Ismaili doctrine of the
Fatimids, and returned to
Maliki Sunnism, acknowledging the
Abbasids as rightful
Caliphs.