Kilij Arslan
Upon Mesud's death in 1156, the sultanate controlled nearly all of central Anatolia. Mesud's son, Kilij Arslan II, captured the remaining territories around Sivas and Malatya from the last of the Danishmends. At the Battle of Myriokephalon in 1176, Kilij Arslan II also defeated a Byzantine army led by Manuel I Komnenos. Despite a temporary occupation of Konya in 1190 by the Holy Roman Empire's forces of the Third Crusade, the sultanate was quick to recover and consolidate its power. During the last years of Kilij Arslan II's reign, the sultanate experienced a civil war with Kaykhusraw I fighting to retain control and losing to his brother Suleiman II in 1196.