section_path: History/Early Tai confederate cities: (691 BCE – 13th century CE)
section_name: Early Tai confederate cities: (691 BCE – 13th century CE)
paragraph_text: Early Tai confederate cities: (691 BCE – 13th century CE)
  
  Theoretically, Tai-Kadai -speaking people formed as early as the 12th century BCE in the middle of the Yangtze basin. Some groups later migrated south to Guangxi. However, after several bloody centuries against Chinese influence in Guangxi from the 333 BCE-11th centuries, hundreds of thousands of Tais were killed, thus, Tai people began to move southwestward along the rivers and over the lower passes into the mountain north of Southeast Asia and river valleys in present-day Assam of India. Some evidence indicates that the ancestors of Tai people migrated en masse southwestwards out of Yunnan only after the 1253 Mongol invasion of Dali, but not generally accepted.
  
  Tais defeated indigenous tribes and emerged as the new power in the new region, several Tai city-states were established, scattered from Điện Biên Phủ in present-day northwestern Vietnam and highland Southeast Asia to northeastern India. According to the Simhanavati legend given in several chronicles, the first Tai city-state in northern Thailand, Singhanavati, was found around the 7th century; however, several modern geology and archaeology studies found that its center, Yonok Nahaphan, dates from 691 BCE–545 CE, coinciding roughly with the establishment of Shan States, another Tai's federated principalities in the present-day northeast Myanmar. as well as Muang Sua (Luang Prabang) in the east. After Singhanavati was submerged below Chiang Saen Lake due to an earthquake in 545, the survivors then founded a new seat at Wieng–Prueksha, the kingdom lasted for another 93 years.
  
  In addition to Singhanavati, another northern principality probably related to the Tai people, Ngoenyang, was established as the successor of Singhanavati in 638 by Lavachakkaraj, also centered in Wieng–Prueksha (present-day Mae Sai District, Chiang Rai). Its seat was moved to Chiang Mai in 1262 by King Mangrai, which considered the foundation of the Lan Na kingdom. Mangrai unified the surrounding area and also created a network of states through political alliances to the east and north of the Mekong. His dynasty would rule the kingdom continuously for the next two centuries. Lan Na expanded its territory southward and annexed the Mon Hariphunchai of Dvaravati in 1292.
  
  In the late 10 century, Tai people began to migrate further south to the present-day upper central Thailand. Around the 1100s period, several cities in this area, such as Songkwae, Sawankhalok, and Chakangrao, were ruled by the Tai people, and they eventually launched several battles against the pre-existing Mon of Lavo, who had been falling under Chenla and Khmer influences since the 7th century, thus bringing the establishment of the Tai people's independent state, Sukhothai Kingdom, in the upper Chao Phraya River valley in 1238.
  
  The earliest conflict between Tai people and the preexisting ethnics was recorded in the mid-4th century when the ruler of Singhanavati, Pangkharat, forcibly lost the seat at Yonok to King Khom from Umongasela (present-day Fang). He then fled to Vieng Si Tuang (เวียงศรีทวง; present-day Wiang Phang Kham, Mae Sai district) but had to send tributes to Yonok annually until his son, Phrom, took back Yonok and expelled King Khom from Umongasela. Phrom also marched the troops south to occupy Chakangrao from the enemy as well as founding the city of Songkwae. Some historians suggest that Lavo 's capital, Lopburi, was once seized by Phrom. In contrast, Tai people instead established relationships with Siamese Mon via royal intermarriages.