Warat is an ancient western Mongolian nation, Warat ancestors for the "good yi ratti", originally lived in the upper Yenisei river eight river area. When Genghis Khan founded the country, the Kudu Hepet Beg led four thousand households, and Genghis Khan has a marriage relationship, in the Great Mongolian State has been enjoying the special status of "pro-view of the kings".
In the 14th century, with the decline of the Yuan dynasty royal family, Wara took the opportunity to expand its strength, and actively participated in the disputes of various factions. 1414, Ming Emperor Chengzu's northern expedition to the western Mongols, and the Wara war in the Khulan Khuwun (present-day Ulaanbaatar, Mongolia, east of the war), Wara failed to the internal annexation of the Ming dynasty, claiming the title of vassal. Its leader Mahamud, Taiping, put bald Marco Polo divided by the Ming Dynasty as Shunning Wang, Xianyi Wang, Anle Wang. 1449, due to the implementation of the economic blockade of the Ming Dynasty on the Warat refused to trade. Zhengtong fourteen years (1449) also first in order to survive forced to counterattack the Ming army, attacking Datong, Xuanfu, Liaodong, Gansu, Ming Yingzong egged on by eunuch Wang Zhen, led the troops in person, also first lured the Ming army to Datong, broke its front, captured Ming Yingzong in the Tumu Fortress, the history of the Tumu mutiny. In October of the same year, Yasun first besieged Beijing. Later, due to the eastern Mongolia (Tartar) Dayan Khan re-emerged, the Warat Department moved to the northwest, the power once expanded to the Ili River basin area. In order to ensure the smooth progress of trade, A lost Timur from time to time to send envoys to the Ming Dynasty tribute.