The document summarizes the rise of Turkish empires in Anatolia. Nomadic Turks originally migrated from western China for reasons like drought, conflict, or seeking better pasture and trade. In the 10th century, some converted to Islam and moved into the Abbasid Empire, where they were taken as slaves, soldiers, and guards. The Turkish slaves grew powerful and took control of the declining Abbasid Empire by the 10th century. One Turkish group, the Seljuks, converted to Sunni Islam in the 1000s and established their rule over most of Anatolia after defeating the Byzantines in 1071. They gained support from the Persians, who served in their government and introduced Persian culture.