Wikipedia
Mahdids
The Mahdids (بني مهدي, Banī Mahdī) were a dynasty in Yemen who briefly held power in the period between 1159 and 1174. In spite of the name they did not represent a Shia Muslim Mahdi movement, but rather followed the Hanafi madhhab (law school) of Sunni Islam.