The Mahdids (Arabic: بني مهدي, romanized: Banī Mahdī) were a dynasty in Yemen who briefly held power in the period between 1159 and 1174.