Yağıbasan
Nizamettin Yağıbasan, or simply Yağıbasan was the sixth ruler of Danishmendids and the uncle of Melik Zünnun.
Background
After the Seljuk Sultan Alp Arslan defeated the Byzantine army in the battle of Manzikert in 1071, a series of Turkmen beyliks were established on former Byzantine territory in Anatolia before their unification under the Sultanate of Rum. The Danishmend dynasty were one of the most important families of this period, establishing a series of Beyliks centered around Samasota. Following the First Crusade they dominated they were for a brief period on equal footing with the weakened Seljuks.Civil war
Yağıbasan was the grandson of Gazi Gümüshtigin and son of Emir Gazi. Emir Gazi died in 1146 in Kayseri. His elder son Zinnun in Kayseri succeeded him. However, he was deposed by Yağıbasan who was residing in Sivas. Around this time, Yağıbasan became a subject of the Byzantine emperor Manuel I Komnenos as attested to by a Greek seal of Christ Emmanuel that reads "Ὁ δούλος τοῦ βασιλέως ἀμυρᾶς Ἰαγιπαζάνης".After a further partition by a third brother in Malatya, the Danishmendid power began to decline. Mesut I of the Seljuks saw his chance to end the Danishmend dominance in Anatolia. He captured Sivas and in 1150 Yağıbasan agreed to be a vassal of the Seljuks.