sentences:  Since Sökmen II was childless, the beylik was seized by a series of slave commanders after his death.In 1207, the beylik was taken over by the Ayyubids, who had long coveted Ahlat.The Ayyubids had come to the city at the invitation of people of Ahlat after the last Sökmenli ruler was killed by Tuğrulshah, the ruler ("melik") of Erzurum on behalf of the Sultanate of Rûm and brother of Sultan Kayqubad I.