Mahdids
The Mahdid state was a short-lived emirate in Yemen centred on Zabid. It was founded by the preacher Ali ibn Mahdi, who gathered followers among the hill tribes of the Tihama and took Zabid in 1159, ending the Najahid dynasty. The Mahdids preached a harsh doctrine close to Kharijism and fought their Zurayid neighbours. In 1174 Yemen was conquered by the Ayyubid prince Turan-Shah, Saladin's brother, and the last Mahdid was executed.