It was taken by the Danishmand Amirs of Sivas early in the 12th century, and passed to the Turks in 1 393.
The history of the dynasty of the Danishmand is still very obscure, notwithstanding the efforts of Mordtmann, Schlumberger, Karabacek, Sallet and others to fix some chronological details, and it is almost impossible to harmonize the different statements of the Armenian, Syriac, Greek and Western chronicles with those of the Arabic, Persian and Turkish.
The founder of the dynasty was a certain Tailu, who is said to have been a schoolmaster (danishmand), probably because he understood Arabic and Persian.
His descendants, therefore, took the style of "Ibn Danishmand," often without their own name.
Afterwards there arose a natural rivalry between the Seljuks and the Danishmand, which ended with the extinction of the latter about 1175.