 They established an exile regime, the Qara Khitai, which became overlord over both Kara-Khanid held and Uyghur held parts of the Tarim Basin for the next century.During the Liao, many Han Chinese lived in Kedun, situated in present-day Mongolia.In 1208, a Naiman prince named Kuchlug fled his homeland after being defeated by the Mongols.