The Ongud, (Mongol: Онгуд, untouchables) were Mongols active in Mongolia around the time of Genghis Khan (1162–1227). Many members were members of the Church of the East. They lived in an area lining the Great Wall in the northern part of the Ordos Loop and territories to the northeast of it. They appear to have had two capitals, a northern one at the ruin known as Olon Süme and another a bit to the south at a place called Koshang or Dongsheng. They acted as wardens of the marches for the Jin dynasty (1115–1234) to the north of the province Shanxi.
The ancestors of the Ongud were the Yueban who later intermixed with Turkic peoples, forming the Shatuo of the Western Turkic Khaganate. In the 7th century they moved to eastern Xinjiang under the protection of the Tang Dynasty. By the 9th century the Shato were scattered over North China and modern Inner Mongolia. A Shato warlord, Li, mobilized 10,000 Shato cavalrymen and served the Tang as ally. In 923 his son defeated the rebellious dynasty and became emperor of the Later Tang. After the overthrow of the Li family, Shatuo commanders established the Later Jin, the Later Han and the Northern Han.
In the 13th century a part of Shato probably included in the Mongol Empire as an Ongut tribe, another part as White Tatars. During Mongolian time, a part of the Chuy Onguts were resettled in Khorazm, to eventually become a part of Kazakhs, and another fraction remained in Mongolia, in the 15th century they became part of the Tumed.