Kara-Khitan Khanate
In 1132, remnants of the Khitan Empire from Manchuria entered Xinjiang, fleeing the onslaught of the Jurchens into north China. They established an exile regime, the Kara-Khitan Khanate, which became overlord over both Kara-Khanid-held and Uyghur State-held parts of the Tarim Basin for the next century.
Read more about this topic: History Of Xinjiang