for a century. Chinese scholars tend to favour the theory that the rulers came from the aforementioned Bai or Yi groups, while some non-Chinese scholars subscribed to the theory that the Tai ethnic group was a major component, that later moved south into modern-day Thailand and Laos. In 649, the chieftain of the Mengshe tribe, Xinuluo (細奴邏), founded the Great Meng (大蒙) and took the title of Qijia Wang (奇嘉王; "Outstanding King"). He acknowledged Tang suzerainty. In 652, Xinuluo absorbed the White Mywa realm of Zhang Lejinqiu, who ruled Erhai Lake and Cang Mountain. This event occurred peacefully as Zhang made way for Xinuluo of his own accord. The agreement was consecrated under an iron pillar in Dali. Thereafter the Black and White Mywa acted as warriors and ministers respectively. In 704 the Tibetan Empire made the White Mywa tribes into vassals or tributaries. In the year 737 AD, with the support of the Tang dynasty, the great-grandson of Xinuluo, Piluoge (皮羅閣), united the six zhaos in succession, establishing a new kingdom called Nanzhao (Mandarin, "Southern Zhao"). The capital was established in 738 at Taihe, (the site of modern-day Taihe village, a few miles south of Dali). Located in the heart of the Erhai valley, the site was ideal: it could be easily defended against attack and it was in the midst of rich farmland. Under the reign of Piluoge, the White Mywa were removed from eastern Yunnan and resettled in the west. The Black and White Mywa were separated to create a more solidified caste system of ministers and warriors. Nanzhao existed for 165 years until A.D. 902. After 35 years of tangled warfare, Duan Siping () of the Bai birth founded the Kingdom of Dali, succeeding the territory of Nanzhao. Most Yi of that time were under the ruling of Dali. Dali's sovereign reign lasted for 316 years until it was conquered by Kublai Khan. During the era of Dali, Yi people lived in the territory of Dali but had little communication with the royalty of Dali. Kublai Khan included Dali in his domain, grouping it with Tibet. The Yuan emperors remained firmly in control of the Yi people and the area they inhabited as part of Kublai Khan's Yunnan Xingsheng () at current Yunnan, Guizhou and part of Sichuan. In order to enhance its sovereign over the area, the Yuan dynasty set up a dominion for Yi,