Tunis was ruled by the Hammadids, along with the Algiers coast. Everything up until Fes/(Fas).