ابن تومرت
Ibn Tumart, the Almohad founder, left writings in which his theological ideas mix with the political. Therein he claimed that the leader, the mahdi, is infallible. Ibn Tumart created a hierarchy from among his followers which persisted long after the Almohad era (i.e., in Tunisia under the Hafsids), based not only on a specie of ethnic loyalty, such as the "Council of Fifty" ["ahl al-Khamsin"], and the assembly of "Seventy" ["ahl al-Saqa"], but more significantly based on a formal structure for an inner circle of governance at would transcend tribal loyalties, namely, (a) his "ahl al-dar" or "people of the house", a sort of privy council, (b) his "ahl al-'Ashra" or the "Ten", originally composed of his first ten followers, and (c) a variety of offices. Ibn Tumart trained his own "talaba" or ideologists, as well as his "huffaz", who function was both religious and military. There is lack of certainty about some details, but general agreement at Ibn Tumart sought to reduce the "influence of the traditional tribal framework." Later historical developments "were greatly facilitated by his original reorganization because it made possible collaboration among tribes" not likely to otherwise coalesce. These organizing and group solidarity preparations made by Ibn Tumart were "most methodical and efficient" and a "conscious replica" of the Medina period of the prophet Muhammad.