Temim ibn Ziri (Arabic: تميم بن زيري, Tamīm ibn Zīrī; died c. 984/985) was a Zirid prince and military commander, known primarily as a son of the dynasty's founder, Ziri ibn Manad, and a brother of the subsequent Zirid rulers Buluggin ibn Ziri and Hammad ibn Buluggin.
Family and Early Life He belonged to the Sanhaja Berber clan of the Banu Ziri. His father, Ziri ibn Manad (d. 971), was the founder of the Zirid dynasty and a key vassal of the Fatimid Caliphate in the Maghreb. Temim was a full brother to Buluggin ibn Ziri (r. 971–984) and Hammad ibn Buluggin (founder of the Hammadid dynasty).
Governorship of Tahert Following the death of their father in 971 and the accession of Buluggin ibn Ziri, Temim was appointed governor of Tahert (modern Tiaret, Algeria) and the surrounding western Zirid territories. This appointment was part of Buluggin's strategy to secure the dynasty's western frontier against the rival Umayyad Caliphate of Córdoba and local Zenata Berber tribes.
Rebellion and Death Historical sources, notably Ibn Khaldun and later chroniclers such as Ibn al-Athir, record that Temim ibn Ziri eventually rebelled against his brother Buluggin's authority. The motivations for the revolt are generally attributed to dissatisfaction with the distribution of power and resources, or a bid for independent rule in the west.
The conflict culminated in a military confrontation. Buluggin ibn Ziri marched against Temim, resulting in Temim's defeat. Temim ibn Ziri was killed during the suppression of the rebellion, circa 984 or 985 CE (374 AH). His death consolidated Buluggin's control over the central Maghreb, though the western regions remained volatile.
Historical Significance Temim ibn Ziri represents the early internecine struggles within the Zirid dynasty that characterized the transition from a tribal confederation leadership to a centralized hereditary monarchy. His revolt foreshadowed the later, more consequential split between the main Zirid line in Ifriqiya (Tunisia/eastern Algeria) and the Hammadid line in the central Maghreb (Algeria) under his brother Hammad.