Wén Dān (; ) was a polity, or group of polities, of the interior of mainland Southeast Asia between the 6th and 9th centuries, known almost entirely from Chinese records of the Tang period. Tatsuo Hoshino places it in the central Mekong valley of what is now northeast Thailand, with its inner capital at Kantharawichai and its outer capital at Mueang Fa Daet Song Yang. He identifies its people as Tai-speaking, a characterisation Hiram Woodward regards as tendentious while accepting the placement. It has also been equated with Mūladeśa, attested in the K.187 inscription, and with Bhavapura.
Wen Dan sent embassies to the Tang court in 717, 750, 753, 771, 779 and 799, and its envoys received Chinese titles; a contingent from it fought alongside Tang forces against Nanzhao in the 750s. China administered a prefecture of its own on the middle Mekong, Changzhou, which passed under Huanzhou in 791; the last Wen Dan embassy followed seven years later.
The polity disappears from the record after the early 9th century. Woodward reads its end as defeat by Jayavarman II, or alternatively as an alliance with him against Si Thep, while Hoshino holds that the region then entered a phase he calls Java.
Location and extent The Chinese annals and the archaeological evidence place Wen Dan in the Chi River basin, centered in Kantharawichai, which the Chinese called Pó Lòu (), with Mueang Fa Daet Song Yang as the outer centre and Champasri as a subordinate town. Hoshino presents the three identifications as tentative and consistent with the Chinese texts rather than as established. The three are held to have been linked by Dvaravati Buddhism, displaced by Angkorian practice in the 10th century. Several lines of evidence connect Wen Dan with Si Thep in central Thailand. The Kantharawichai placement fits the Tang Huiyao, which puts Wen Dan six days' land travel north-west of Keoi Lau Mì唐会要 [Tang Huiyao] (in Chinese) of the Kuy people.
Wen Dan had two vassals, Dàomíng to the north in modern Laos and Cān Bàn to the northwest. Cān Bàn had sent tribute alongside a still united Chenla in 625 and 628 before coming under Wen Dan. Hoshino calls Cān Bàn's seat the weakest part of his reconstruction. He favours Si Thep, although it lies southwest of Mueang Fa Daet Song Yang, whereas the annals place Cān Bàn to the northwest. He therefore places its administrative centre farther up the Pasak River valley, and for the 9th and 10th centuries proposes Suphan Buri, based on a notice placing Cān Bàn more than 1,000 li southwest of Land Chenla on swampy ground near the sea. The New Book of Tang names Cān Bàn () as a dependency lying to the north-west of Wen Dan and records an embassy from it to the Tang court. A further constraint comes from the wars on Chenla's eastern frontier. Hoshino takes the Ai Lao pass to have been the attack route between Chenla and Huan Wang, and reasons that a polity reached that way could not have lain in southern Laos or the southern part of Isan. Some academics equate Wen Dan with Bhavapura, centered at Vat Phou in modern southern Laos, which conflicts with the location of Wen Dan given in the Chinese sources. David Welch, following Cœdès's derivation of the name from the Sanskrit mula, gives its earlier pronunciation as Muen-tan and infers that Wen Dan may have lain in the Mun basin, most likely along the lower river.
Woodward accepts Hoshino's placement of the two centres but considers the evidence for the northeastern region less certain. He notes that the boundary stones of Mueang Fa Daet Song Yang cannot by themselves establish the presence of an urban centre there in the 8th century. Rungrot Phiromanukun dates the earliest groups of ritual boundary stones generally to about 600–750, while Jean Boisselier placed those at Fa Daet in about the 9th century and Piriya Krairiksh dated several of the site's figural stones to the 10th. Sakchai Saising dates the northeastern sema corpus as a whole to the ninth and tenth centuries, from the post-Pallava script and Old Mon language of the inscribed examples. Instead, Woodward bases the 8th-century evidence on two other sites. The first is a cache of small silver repoussé sheets from Kantharawichai, bearing designs of stupas and kumbha stupas, which Santi Leksukhum dates to the 8th–9th century. The second is about 1,000 votive tablets excavated in 1979 from a ruined stupa at Na Dun. The latter were published as 9th–10th century but are considered by Woodward to be earlier, dating to about the 8th century.
Relations with Tang China The first tribute recorded in the annals is usually dated to 717, although Hoshino identifies an earlier mission during the Xian Qing reign (656–661) as the first. Hoshino reads the Chinese notice of the five polities that sent tribute together in 657 as a group federated politically and economically, and culturally distinct from the coastal region Dvaravati dominated. In 722, Wen Dan is said to have assisted a native lord from Nghe An, probably a Tai or Hmong, in a war against the Chinese governor of Jiaozhou. The Chinese forces were defeated, and the local ruler took the title Hei-ti (). Hoshino ties the movement of Tai-speaking groups into the middle Mekong to no single event of this kind.
Wen Dan sent another tribute mission to China in 750. In 753, its crown prince and 26 relatives or officials were received at the Chinese court and granted titles in recognition of Wen Dan's assistance on the southeastern frontier. Hoshino identifies the delegation with a Wen Dan contingent that took part in the Tang campaign against Nanzhao. He dates its participation to 751–754, with the delegation received at the Chinese court in 753 and returning home in 755. He describes this as the only known case in which Southeast Asian troops joined a Chinese army in the field during the Tang period.
Due to several unsuccessful wars against Nanzhao, to strengthen the southern region, Jiaozhou was placed under a military commandant in 756. Ten years later, in 766, a Tang army of 70,000, led by General Li Mi from Sichuan, invaded Nanzhao. Kolofeng, the Nanzhao king, captured General Li and won, and the following year the citadel of Lo-than near the modern Hanoi was constructed after the region was raided by Melayu. In 771 an embassy led by Po Mi () reached the Tang court with eleven trained elephants and a party of twenty-five, and was entertained in the imperial palace on 13 December of that year. Po Mi received a Chinese personal name and the title kaifu yitongsansi, which Hoshino ranks second of the thirty tiers of the Tang bureaucracy, above the governors of Jiaozhou and Guangzhou and equal in standing to the title conferred on the pro-Chinese Nanzhao king Pi Luo Ge in about 735; how Po Mi came by it Hoshino leaves open. He travelled with his wife, which Hoshino describes as the only recorded instance of a consort accompanying a tribute mission to the Tang court. Another embassy is said to have been sent in 779, and the last in 798 or 799, its envoy recorded in Chinese style as Lītóují () and given the title zhong lang jiang, which by this date denoted an army commander or a regional chief entitled to a residence of his own.
The route to the Wen Dan capitals is described in the geographical chapters of the New Book of Tang and in the Taiping Huanyu Ji, drawing on a Tang geography now lost. Reconstructing it, Hoshino has a traveller leave Huanzhou, which he places at Vinh rather than Hà Tĩnh on the precision of the opening bearing, go three days south-west over a mountain the Chinese called Wu Wen and two more to a place called Ri Luo, reaching a Tai town on the right bank of the Mekong near present-day Nakhon Phanom in about eight days by way of the Nam Theun, the Nam Hinbun and the Nam Hai. From the landing of Man Yang the journey continued south-west for four days, three across the plain below Nong Han Luang and one over the Phu Phan range, to a district the Chinese called Suan Tai, then by river to Khao Wong north of Kuchinarai, three days more to Fa Daet and one further day to Kantharawichai. He notes that elephants could not be carried in river boats, so an outbound tribute mission took longer than the itinerary as recorded.
Tang China also administered a prefecture on the Mekong itself, Changzhou ( or ), with two districts. Hoshino places its seat either on the Mekong near Thakhek and Nakhon Phanom or at Sakon Nakhon, and places Tai speakers in numbers in its Wén Yáng district (), which he locates at Thakhek.
History Dvaravati–Chenla period: 580s – 800s Federated Chenla: 580s – 681
Where Chenla first formed bears directly on the interpretation of Wen Dan. Pierre Dupont placed its origin in the Mun valley under Bhavavarman I, who, together with his successor Mahendravarman I, expanded southward to the Bassac and Pakse region, later known as Sreshthapura, and along the Mekong; the kingdom reached its height under Isanavarman I before breaking apart in the 8th century. On this reconstruction, Wen Dan would have represented the dynasty's northern homeland rather than a peripheral secession. Dupont therefore named the resulting polity Bhavapura after Bhavavarman.
That reconstruction has been questioned by the distribution of the inscriptions themselves. Khmer inscriptions earlier than the 7th century cluster in central and southern Cambodia and the Mekong delta, while northeastern Thailand has no known Khmer inscription before the 8th century. Southern Laos and northwestern Cambodia, which have at times been proposed as the Khmer homeland, instead contain Cham inscriptions. The Văt Luong Kău stele (K.365) from Vat Phou, dated to the late 5th century, names a mahārājādhirāja Śrī Devanika, who is said to have come from a distant land and cannot be securely connected with any known Chenla lineage. George Cœdès considered its style closer to early Cham inscriptions than to those of Funan or Chenla, and noted that the Bhadreśvara worshipped at Vat Phou bears the name of Champa's principal deity at Mỹ Sơn. He therefore argued that Champasak and Vat Phou were not under Chenla in the 5th century and that Chenla's early centre should be sought further south. Anton O. Zakharov similarly treats the stele as evidence for an autonomous polity belonging to neither Champa nor Chenla, within a middle Mekong region of several independent states.
On the southern-origin interpretation, Bhavavarman I and Mahendravarman I instead originated in the southern plain of the Tonlé Sap, specifically the Sambor Prei Kuk, and later extended their influence northward towards Bassac-Pakse and the Chi–Mun Valley. These expeditions appear to have had limited lasting political effects. Regional inscriptions for several centuries afterwards name no ruler from the Tonlé Sap basin after the period of Mahendravarman. Anurak Depimai likewise characterises the relationship under Isanavarman I as a network of kinship and patronage rather than direct administrative rule, from which Si Thep and Dvaravati emerged as the southern centre weakened under Bhavavarman II. On this interpretation, Wen Dan would represent a northern polity that was not directly governed from the Tonlé Sap, weakening the basis for identifying it with Bhavapura.