The conquest of Anatolia, which began in 1071, continued when Suleyman shah took Iznik in 1075 and laid the foundations of the Anatolian Seljuk State, and at the same time, the Turkish population in Anatolia increased rapidly with the great Turkmen Migration in 1080. Emir Karatekin Bey was first a Bey around Turhal and Zile, and later was commissioned for the conquest of Sinop and Çankırı. In 1074 (some say, 1082), he conquered Çankırı and made the city the center of his headquarters. Although the Danishmendname states that this conquest was carried out on behalf of the Danishmendians, Byzantine sources and other sources indicate Emir Karatekin as a commander of Suleimanshah. After taking Çankırı, Emir Karatekin expanded his sovereignty and consolidated his power by adding Kastamonu and Sinop to his territory. According to the Danishmendname, which described these conquests as legendary, Emir Karatekin, who conquered Çankırı, was a friend of Melih Danishmend Gazi and Emir Artuk.