In 1124 the Khitan people, nomadic people from northeast Asia, led by Yelü Dashi and the royal family marched from Kedun to establish the Qara Khitai in Central Asia. The migration included Han Chinese, Bohai, Jurchen, Mongol tribes, the Xiao consort clan, etc. Some Khitans migrated into western areas even before. In 1132, further remnants of the Liao dynasty from Manchuria and North China entered Xinjiang, fleeing the onslaught of the Jurchens into North China. 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.