The Sanhaja (Arabic: صنهاجة, Ṣanhaja or زناگة Znaga; Berber languages: '''Aẓnag''', pl. Iẓnagen, and also Aẓnaj, pl. Iẓnajen) were once one of the largest Berber tribal confederations, along with the Zanata and Masmuda confederations.[1] Many tribes in Algeria, Libya, Mali, Mauritania, Morocco, Niger, Senegal, Tunisia and Western Sahara bore and still carry this ethnonym, especially in its Berber form.
Other names for the population include Zenaga, Znaga, Sanhája, Sanhâdja and Senhaja.
Ibn Khaldun and others defined the Sanhaja as a grouping made up of three separate confederations, not as a single confederation.[2] [3] [4] The distinction is usually made with a diacritical point placed above or below that is present in the Arabic text and often lost in English.
Berber tribes such as the Sanhadja or Kutama are often attributed Himyarite origins by Arab historians (which the Sanhadja likely adopted themselves for political legitimacy), but other genealogical sources and modern genetic testing reveal this supposed origin to likely be a myth, given the predominant Berber Y haplogroup is E, and the predominant Arab Y haplogroup is J. The historian Al-Idrīsī presents one example of the Himyarite myth as following:
After the arrival of the religion of Islam, the Sanhaja spread out to the borders of the Sudan as far as the Senegal River and the Niger.[8]
Sanhaja Berbers were a large part of the Berber population. From the 9th century, Sanhaja tribes were established in the Middle Atlas range, in the Rif Mountains and on the Atlantic coast of Morocco as well as large parts of the Sanhaja, such as the Kutâma, were settled in central and eastern parts Algeria (Kabylia, Setif, Algiers, Msila) and also in northern Niger. The Kutama created the empire of the Fatimids conquering all North African countries and parts of the Middle East.[9] [10] The Sanhaja dynasties of the Zirids and Hammâdids controlled Ifriqiya until the 12th century and established their rule in all of the countries in the Maghreb region.
In the mid-11th century, a group of Sanhaja chieftains returning from the Hajj (pilgrimage to Mecca) invited the theologian Ibn Yasin to preach among their tribes. Ibn Yasin united the tribes in the alliance of the Almoravids in the middle of the 11th century. This confederacy subsequently established Morocco, and conquered western Algeria and Al-Andalus (part of present-day Spain).[11]
The Sanhaja tribes would remain in roles as either exploited semi-sedentary agriculturalists and fishermen, or higher up on the social ladder, as religious (Marabout or Zawiya) tribes. Though often Arabized in culture and language, they are believed to be descended from Sanhaja Berber population present in the area before the arrival of the Arab Maqil tribes in the 12th century, which was finally subjected to domination by Arab-descended warrior castes in the 17th century Char Bouba war.[12]
According to Mercer, the words Zenaga or Znaga (from the Berber root ẓnag or ẓnaj, giving the noun Aẓnag or Aẓnaj with the additional masculine singular prefix a-, or Taẓnagt or Taẓnajt with the additional feminine singular circumfix ta--t, or Iẓnagen or Iẓnajen with the additional masculine plural circumfix i--en, or Tiẓnagen or Tiẓnajen with the additional feminine plural circumfix ti--en) are thought to be a romanized distortion of Zenata and Sanhaja from Arabic.
The descendants of the Sanhaja and their languages are still found today in the Middle Atlas mountains, eastern Morocco, northern Morocco (Rif), western Algeria, Kabylia and Kabyle territories.
The Zenaga, a group believed to be of Gudala (the southernmost Sanhaja tribe) origin, inhabit southwestern Mauritania and parts of northern Senegal. However, they are a small population.[13]