Idrisid dynasty
In 1033, following their conquest of the city from the Maghrawa tribe, the forces of Tamim, chief of the Zenata Berber Banu Ifran tribe, perpetrated a massacre of Jews in Fez in an anti-Jewish pogrom. The city of Fez in Morocco had been contested between the Zenata Berber tribes of Miknasa, Maghrawa and Banu Ifran for the previous half century, in the aftermath of the fall of the Idrisid dynasty.