Hiran Nakhon Ngoenyang (; ) was an early mueang or polity of the Tai Yuan people that flourished between the 7th and 13th centuries CE in the upper Mekong basin. Known by several names in historical sources, including Jayavaranagara (), Chiang Lao (), Hiraṇyanagara Ngoenyang Chiang Saen (), Nagarayāṅgapura (), and Thasai Ngoenyang (). It emerged in the aftermath of the fall of the Yonok Kingdom and developed into a significant regional center in what is now northern Thailand.
The political and urban center of Hiran Nakhon Ngoenyang was located at the site of present-day Wiang Phang Kham in Mae Sai District, Chiang Rai Province, Thailand. The settlement was originally founded under the name Hiran and later expanded into a larger fortified city, after which it became known as Ngoenyang. Archaeological evidence indicates that this transformation involved the northward expansion of the original settlement.
Ngoenyang worked as a mandala of the kind common in mainland Southeast Asia, holding a network of allied and subordinate mueang by dynastic tie, military force and ritual authority. Its twenty-fifth ruler, Mangrai, founded Chiang Rai and then the Lan Na Kingdom in the late 13th century, which ended Ngoenyang as a separate polity.
History Formation After an earthquake destroyed the Yonok Kingdom in the 6th century, the surviving settlements formed an alliance and moved the principal seat to Wiang Prueksa, where sixteen rulers followed one another. The Tai Yuan of Wiang Prueksa then invited Lao Chakkaraj, a Lawa leader from Doi Tung, to rule them. He rebuilt the city and made it his chief seat in 638 under the name Hiran Nakhon. He also rebuilt Mueang Fang and later founded new cities that became Chiang Rai and Chiang Khong. Chris Baker and Pasuk Phongpaichit summarise the Sinhanavati legend as one continuous movement over these generations. A Tai chief's son comes from the north, displaces some Lawa and founds Yonok, probably at Chiang Saen; his descendants, harried by people who may have been Mongols, flee south down the Kok River and found Fang, then cross a low watershed into the Ping valley and found Chiang Rai, which they date to 1263, before moving on towards Chiang Mai late in the century.
During the early reign of Lao Chakkaraj, the polity of Ngoenyang comprised 57 cities or settlements, with four additional regional centers besides Hiran–Ngoenyang: Mueang Fang, north of modern Chiang Mai province; Mong Hsat in present-day Shan State, Myanmar; Mueang Hang Rung Rung () in modern Hot district of Chiang Mai province; and Mueang Jawad Noi () in present-day Mueang Chiang Mai district. The northernmost extent of his polity was Mong Yawng, where he appointed one of his sons as ruler, while the eastern boundary adjoined Vieng Phouka, ruled by his uncle, whose daughter later married Lao Kao Kaeo Ma Mueang, youngest son of Lao Chakkaraj.
In 662, the southern part in the Ping River Basin was split off and became the Haripuñjaya Kingdom, ruled by Queen Camadevi of Lavo. On Lao Chakkaraj's death in 759 his three sons ruled separately and did not interfere with one another. This division fragmented the polity into three parts: the eastern part, with its seat at Chiang Khong, ruled by the eldest son Lao Khob (); the northern part, centered at Mong Yawng, ruled by the middle son Lao Chang (); and the youngest son, Lao Kao Kaeo Ma Mueang, succeeded his father at Hiran–Ngoenyang.
Location of Mueang Ngoenyang The Chronicle of Chiang Saen identifies Ngoenyang with modern Chiang Saen, and that identification long held the field. Other textual traditions place it elsewhere. The Nan Chronicle places Ngoenyang at Ta Sai () in Mae Sai District; The Chiang Mai Chronicle situates it near the Sai River; and the Phayao Chronicle records that during the reign of Lao Khiang, the city of Yang Sai ()—his royal seat—was expanded and it was located at the foothills of Doi Tung in Mae Sai District. Taken together, these accounts suggest that Ngoenyang was most likely located in the vicinity of Doi Tung, while Hiran can be more confidently identified with modern Mae Sai. This conclusion is consistent with archaeological research conducted by Worasit Ophap at Wiang Phang Kham, an ancient city in Mae Sai district. His survey found that the site is enclosed by an earthen embankment that divides the settlement into two sections, indicating a later expansion of the city.วรสิทธิ์ โอภาพ. การสืบค้นประวัติศาสตร์โบราณสถาน "คันดิน-คูเมืองเวียงพางคำ" อำเภอแม่สาย จังหวัดเชียงราย : สำนักงานวัฒนธรรมจังหวัดเชียงราย, 2548. The site is located in the Doi Wao–Doi Kha–Doi Pa Lao () area, which lies along the same mountain rage as Doi Tung. Wiang Phang Kham should therefore be identified as the same city as the city of Ngoenyang.อภิชิต ศิริชัย. วิเคราะห์ตำนานจากเอกสารพื้นถิ่น ว่าด้วย โยนกนคร เวียงสี่ตวง เวียงพานคำ เมืองเงินยาง และ ประวัติวัดพระธาตุจอมกิตติ ตำบลเวียง อำเภอเชียงแสน จังหวัดเชียงราย. พิมพ์ครั้งที่ 1. เชียงราย:ล้อล้านนา, 2560. Nevertheless, this identification remains disputed.
Chinese account of Duo Mo Zhang
In the Xianqing era (; 656–661 CE) of Emperor Gaozong of Tang, the king of Duo Mo Zhang (), named Shī luó qú yōng yī shuō (), sent a tributary mission to the Chinese court. The Tongdian opens its notice by placing the country jū yú hǎi dǎo (), on a sea island, and gives its neighbours as Po Feng to the east, Duo Long to the west, Ban Zhi Ba to the south, which it glosses in Chinese as "Five Hills", and He Ling and others to the north. The island wording is the ground on which earlier scholarship placed the polity in the archipelago, and it is what Hoshino's argument below is directed against, although he does not discuss the phrase itself. It traces the royal line to a dragon's son named Gǔ lì (), who is said to have found a great bird's egg and, on opening it, a woman of surpassing beauty whom he took to wife; the reigning king is described as his descendant. Its ruling house is described as having no surnames, and marriage as unregulated by them. The royal residence is a palisaded enclosure with a wooden hall in which the king sits on a lion throne facing east, and the dress and customs are said to resemble those of Lin-yi. The polity is said to maintain a military force of over 20,000 soldiers, though it lacks horses, relying instead on bows, swords, armor, and other weapons. Tableware is of copper, iron, gold and silver, and the diet largely ghee, cheese, sugar and rock sugar. The livestock are rams and water buffalo and the country holds roe deer and deer; the dead are cremated without mourning dress, and the music is said to resemble that of India. The fruits named are jackfruit, zhái hù zhē, mango and pomegranate, and sugarcane is said to be abundant. A traveller leaving the country reached Jiaozhou by way of Xue Lu Du (), Si He Lu (), Jun Na Lu () and Lin-yi.
Tatsuo Hoshino argues from this notice that Duo Mo Zhang,通典 卷188 [Tongdian Volume 188] Text: should be located within the fluvial zone of present-day northern Thailand, an area subsequently associated with the Lan Na cultural and political sphere, and takes it to have encompassed the Yom and Nan rivers together with some tributaries of the Mekong across the watershed. His case rests first on He Ling (), the northern neighbour named in the text, which he distinguishes from the He Ling south of Chenla. The distinction rests on the biography of Wei Gao, the Tang official in Yunnan who defeated Nanzhao in alliance with the Tibetans: after two of his generals took a dozen towns in 793, eight chieftains of the West Mountain tribes came before him to pledge allegiance, and the second of the eight lands, each listed as a guo, is written with the same characters as the He Ling south of Chenla. Hoshino notes that Pelliot had recorded this second He Ling himself. He then reconstructs phonologically the place names on the road from Duo Mo Zhang to Lin-yi, and holds that the three states on that road, which he reads from the New Book of Tang as Jun Na Lu (), Du He Lu () and Sa Lu (), lay up-river from the Tang prefectural centre of Changzhou on the middle Mekong. He places Jun Na Lu in the area of Sakon Nakhon, reading its name as na lao, "Lao paddy fields"; Du He Lu near Tha Bo and Wiang Khuk opposite the later sites of Sai Fong and Vientiane, as a river landing named Tha Hua Lü; and Sa Lu either in the Luang Prabang area or on the old trade route linking Phrae to Chiang Khan.
He rejects the older reading that takes the two references to He Ling for one polity and identifies it with the Kalingga kingdom on Java. That reading, he argues, cannot be fitted to the Tongdian geography, and his objection turns on what would then lie to the south. He Ling is given as Duo Mo Zhang's northern neighbour and Duo Mo Zhang as the northern neighbour of Qian Zhi Fu, so if He Ling were Java then Qian Zhi Fu, a state of some size, would fall at the southernmost extremity of the world known to the Chinese, in open sea or as far as Australia, which was neither known at the time nor Indianised. He adds that no river comparable to the Ganges is to be found in the islands of Southeast Asia, and treats the resulting position as one from which no conclusion follows.
The physical description of Duo Mo Zhang, he adds, fits the mountainous north of mainland Southeast Asia better than an island. The text has travel easier north to south than east to west, which suits a country of parallel north–south ranges rather than the east–west grain of Java. On the same ground he moves other polities of the Chinese records, among them Po An () and Zhan Bo, into the middle Mekong basin.
Southern influence of Nanzhao
About a century after the conventional founding of Ngoenyang, a similar consolidation was under way to the north in present-day Yunnan, where six regional lordships gradually coalesced as the Six Zhao (). Contemporary and retrospective sources indicate that five of these lordships were constituted, at least in part, by Tai-speaking Lao or Lao-affiliated populations. This confederative arrangement culminated in 738 with the establishment of the mandala-style kingdom of Nanzhao, which subsequently emerged as a dominant regional power in southwestern China and mainland Southeast Asia and maintained its political primacy until its dissolution in 902.
Although no extant historical records explicitly document direct political or diplomatic engagement between Nanzhao and either the Tai Yuan kingdom of Ngoenyang or the Lao muang of Muang Sua, a constellation of indirect indicators suggests that some degree of contact, interaction, or structural influence was likely. By the 9th century, Nanzhao had developed into a territorially expansive polity, extending approximately 600–700 miles from north to south. Its expansionary strategies were not limited to military coercion but also relied upon the systematic cultivation of political alliances, including marriage alliances. In this context, the 9th-century Chinese ethnographic and geographic text Man Shu () records that Nanzhao’s sphere of influence expanded southward and southwestward along major river systems, through which political and military power was projected into the territories of numerous groups collectively designated as the Southern Barbarians ().
Further evidence for Nanzhao’s engagement with Tai-speaking elites is provided by the historical prominence of the Nùng clan, a Tai-speaking aristocratic lineage based primarily in Guangxi, to the east of the Nanzhao heartland. Scholarly reconstructions suggest that the Nung maintained sustained political and military relations with Nanzhao for at least a century prior to the mid-11th century, when their leader Nong Zhigao, who rebelled against the Song dynasty, rose to prominence during the transitional period between Nanzhao and its successor polity, the Dali Kingdom.