These ancient Uighur people were finally conquered by Turkic Kirghiz in the mid-ninth century. The majority of the Uighurs, who were scattered over many areas, moved to the Western Region under the Anxi Governor's Office, and areas west of Yutian.
Some went to the Tufan principality in western Gansu Province. The Uighurs who settled in the Western Region lived commingled with Turkic nomads in areas north of the Tianshan Mountains and western pasturelands as well as with Hans, who had emigrated there after the Western and Eastern Han dynasties. They intermarried with people in southern Xinjiang and Tibetan, Qidan (Khitan) and Mongol tribes, and evolved into the group now known as the Uygurs..