Berber tribes

Berber tribes are tribes of Berber descent inhabiting the Maghreb region. They are traditionally divided into three large tribal confederations: Masmuda, Zenata and Sanhaja. They often form smaller confederations of tribes together (for example the Haha or the Ait Yafelman). Medieval historian Ibn Khaldun and other medieval genealogists also categorised Berber tribes into either the Baranis or Butr to refer to whether they were sedentary or nomadic.