Note: Berber kingdom ruled by the Ziyyanids, also the name of its capital. Formed after the fall of the Almohads (1248 CE) and covered much of present-day northern Algeria. The kingdom was annexed by the Marinids in the late 13th century and came under Ottoman rule in the 1550s.