When Mehmed died in 1142, the Danishmend lands were divided between his two brothers, Melik Yaghibasan, who maintained the title of "Melik" and ruled from Sivas, and Ayn el-Devle, who ruled from Malatya.
Kljub temu, da je vladal relativno kratko obdobje, je začel graditi prvo turško mesto Kayseri.