Temim ibn Ziri
{{Short description|5th Emir of the Banu Ifran}}
Abu Kamal Temim bin Ziri bin Ya'la Al-Yafrani, was the leader of the Berber Zenata tribe known as Banu Ifren from 1029 to 1035 during the Middle Ages in the Maghreb. He is the grandson of Yala Ibn Mohammed.{{Cite book |title=Histoiry Of The Berbers, Ibn Khaldun, Part of the Banu Ifran.}}
{{Infobox royalty
| embed =
| name = Temim ibn Ziri
| title = Emir of the Ifrenids
Emir of Tlemcen
| titletext =
| more =
| image =
| image_size =
| alt =
| caption =
| succession = 5th Emir of the Banu Ifran
| moretext =
| reign = 1029-1035
| reign-type =
| coronation =
| cor-type =
| investiture =
| predecessor = Habbous
| pre-type =
| successor = Hammad ibn Temim
| suc-type =
| regent =
| reg-type =
| succession1 =
| moretext1 =
| reign1 =
| reign-type1 =
| coronation1 =
| cor-type1 =
| predecessor1 =
| pre-type1 =
| successor1 =
| suc-type1 =
| regent1 =
| reg-type1 =
| succession2 =
| moretext2 =
| reign2 =
| reign-type2 =
| coronation2 =
| cor-type2 =
| predecessor2 =
| pre-type2 =
| successor2 =
| suc-type2 =
| regent2 =
| reg-type2 =
| succession3 =
| moretext3 =
| reign3 =
| reign-type3 =
| coronation3 =
| cor-type3 =
| predecessor3 =
| pre-type3 =
| successor3 =
| suc-type3 =
| regent3 =
| reg-type3 =
| birth_name = Abu Kamal Temim ibn Ziri ibn Yala Al-Ifreni
| birth_date = 986
| birth_place = Algeria
| death_date = 1054-55
| death_place = Chellah, Morocco
| burial_date =
| burial_place =
| queen =
| spouse =
| spouse-type =
| consort =
| issue =
| issue-link =
| issue-pipe =
| issue-type =
| full name =
| era name =
| era dates =
| regnal name =
| posthumous name =
| temple name =
| native_lang1 =
| native_lang1_name1 =
| house =
| house-type =
| royal house =
| dynasty = Banu Ifran
| father = Ziri ibn Yala
| mother =
| religion = Sunni Islam
| occupation =
| signature_type =
| signature =
| signature_alt =
| module =
}}
Life
He is known for the construction of the Grand Mosque of Salé in 1028, which was later reconstructed by the Almohads in the 12th century.{{Cite web |date=2014-11-29 |title="وزارة الأوقاف و الشؤون الإسلامية" |url=http://archive.wikiwix.com/cache/?url=http://www.islam-maroc.gov.ma/ar/detail.aspx?ID=1312&z=359&s=99&title=%D9%88%D8%B2%D8%A7%D8%B1%D8%A9%20%D8%A7%D9%84%D8%A3%D9%88%D9%82%D8%A7%D9%81%20%D9%88%20%D8%A7%D9%84%D8%B4%D8%A4%D9%88%D9%86%20%D8%A7%D9%84%D8%A5%D8%B3%D9%84%D8%A7%D9%85%D9%8A%D8%A9 |access-date=2023-12-30 |archive-url=https://web.archive.org/web/20141129054318/http://archive.wikiwix.com/cache/?url=http://www.islam-maroc.gov.ma/ar/detail.aspx?ID=1312&z=359&s=99&title=%D9%88%D8%B2%D8%A7%D8%B1%D8%A9%20%D8%A7%D9%84%D8%A3%D9%88%D9%82%D8%A7%D9%81%20%D9%88%20%D8%A7%D9%84%D8%B4%D8%A4%D9%88%D9%86%20%D8%A7%D9%84%D8%A5%D8%B3%D9%84%D8%A7%D9%85%D9%8A%D8%A9 |archive-date=2014-11-29 }}
In 1029, Temim expedited to Tamesna{{Cite book |last=Bakrī |first=Abū ʻUbayd ʻAbd Allāh ibn ʻAbd al-ʻAzīz |url=https://books.google.com/books?id=8Mw4AQAAMAAJ&q=ifrenide+1029 |title=كتاب المغرب في ذكر بلاد افريقية والمغرب: وهو جزء من اجزاء الكتاب المعروف بالمسالك والممالك |date=1965 |publisher=Librairie d'Amérique et d'Orient Adrien-Maisonneuve |language=fr}} where he eradicated false Barghawata doctrines, expelled half of the population, enslaving the rest, and established his residence there{{Cite book |url=https://books.google.com/books?id=yoVi7M5P9gEC&dq=ifrenide+1029&pg=PA387 |title=Journal asiatique |date=1859 |publisher=Société asiatique |language=fr}}{{Cite book |last=Khaldûn |first=ʿAbd al-Raḥman b Muḥammad Ibn |url=https://books.google.com/books?id=3dYOAAAAQAAJ&dq=Temim+ibn+Ziri+Al+Ifreni&pg=PA131 |title=Histoire des Berbères et des dynasties musulmanes de l'Afrique septentrionale, tr. par le baron de Slane |date=1854 |language=fr}} He is also known for building the city of Salé in 1030.{{Cite book |last1=Fage |first1=J. D. |url=https://books.google.com/books?id=ZTNTz3POoZUC&pg=PA663 |title=The Cambridge History of Africa |last2=Oliver |first2=Roland Anthony |date=1975 |publisher=Cambridge University Press |isbn=978-0-521-21592-3 |language=en}}{{Cite book |last=Africa |first=International Scientific Committee for the drafting of a General History of |url=https://books.google.com/books?id=tw0Q0tg0QLoC&pg=PA339 |title=General History of Africa: Africa from the Seventh to the Eleventh Century |date=1988-12-31 |publisher=UNESCO Publishing |isbn=978-92-3-101709-4 |language=en}}
In 1033, Temim, leading troops of the Banu Ifran, seized Fez, Morocco from under Maghrawa leader Hammama.{{Cite book |last=al-Salāwī |first=Aḥmad ibn Khālid |url=https://books.google.com/books?id=5-sKAAAAIAAJ&q=temim |title=Kitāb el-istiqça li akhbār doual el-Maghrib el-Aqça |date=1923 |publisher=Librairie orientaliste Paul Geuthner |language=fr}}{{Cite book |last=Khaldūn |first=Ibn |url=https://books.google.com/books?id=2QAoAAAAYAAJ&dq=Temim+Fez&pg=PA251 |title=Histoire des Berbères et des dynasties musulmanes de l'Afrique Septentrionale |date=1856 |publisher=Imprimerie du Gouvernement |language=fr}} Hammama was forced to flee to Oujda. There, Temim perpetrated the 1033 Fez massacre, killing 6,000 Moroccan Jews, seizing their possessions, burning their homes, and enslaving their women.{{Cite book |last1=al-Fāsī |first1=ʻAlī ibn ʻAbd Allāh Ibn Abī Zarʻ |url=https://books.google.com/books?id=WFUpAAAAYAAJ |title=Historia dos soberanos mohametanos das primeiras quatro dynastias: e de parte da quinta, que reinarão na Mauritania, escripta em arabe por Abu-Mohammed Assaleh, filho de Abdel-halim, e traduzida, e annotada por fr. Jozé de Santo Antonio Moura, socio da Academia Real das Sciencias de Lisboa |last2=al-Gharnāṭī |first2=Ṣāliḥ ibn ʻAbd al-Ḥalīm |date=1828 |publisher=Typografia da mesma Academia |language=pt-BR}}{{Cite book |url=https://books.google.com/books?id=E9NOAAAAYAAJ&q=fez+1033+tamim |title=Memórias de mathematica e physica |date=1827 |language=pt-BR}}{{Cite book |last1=Gilbert |first1=Martin |title=Jewish history atlas |last2=Banks |first2=Arthur |last3=Bicknell |first3=T. A. |date=1976 |publisher=Weidenfels and Nicolson |isbn=978-0-297-77259-0 |edition= |location=London}}{{Cite book |last1=Boum |first1=Aomar |url=https://books.google.com/books?id=glgzDAAAQBAJ&pg=PA319 |title=Historical Dictionary of Morocco |last2=Park |first2=Thomas K. |date=2016-06-02 |publisher=Rowman & Littlefield |isbn=978-1-4422-6297-3 |language=en}} Hammama rallied his forces and reconquered Fez in 1039. After fleeing, Temim conquered the city of Chellah, extending his control as far as Tadla.{{Cite book |last=Salāwī |first=Aḥmad ibn Khālid |url=https://books.google.com/books?id=KflAAAAAYAAJ&q=Temim+ibn+Ziri+Al+Ifreni |title=Kitāb el-istiqça li akhbār doual el-Maghrib el-Aqça |date=1925 |publisher=Librairie orientaliste Paul Geuthner |language=fr}}
Death
Temim passed away in 1054-55 in Salé, specifically in Chellah, which he had conquered after fleeing from Hammama in 1038-39. He was succeeded by his son Hammad.{{Cite book |url=https://books.google.com/books?id=7AJCO9mOGgMC&dq=Ifrenides+Temim&pg=RA1-PA721 |title=Encyclopédie moderne: dictionnaire abrégé des sciences, lettres, arts... |date=1857 |publisher=Didot |language=fr}}