Phayao, also called Phukamyao, grew around the Yonok basin in northern Thailand and Laos, with its seat at Phayao and earlier Sakkawanrajathani. Chomtham and Lao Ngoenrueang restored the abandoned capital and created neighboring Wiang Phayao, then divided the directly governed inner territory into panna marked by river courses and mountain landmarks.
The kingdom governed a core around Phayao and outer cities in the Ing, Kok, Wang, Yom, Nan, and Khop basins. Chueang exchanged his throne with Chong while leading Phayao troops to defend Ngoenyang; Chong then ruled from Phayao under the Dasavidha-raja and Paveni principles, while dynastic marriages and transfers of border cities bound Phayao to neighboring courts.
Ngammueang, the first ruler independently attested outside chronicles, brought what the chronicle calls a golden age. His government negotiated with Mangrai in the shared Kham Mueang language and ceded Phan and Chiang Khian to preserve an alliance, after Ngoenyang had already taken Thoeng and Chiang Kham. Later rulers used royal gifts, marriage, and military support to bind the courts of Phayao, Chiang Rai, and Chiang Mai.
Dynastic ties did not prevent predatory warfare. In 1338, Khamfu of Chiang Saen joined Phaya Phanong of Nan to sack both Phayao capitals, seize goods, and drive Khamlue into flight. The allies then quarreled over the plunder, and Nan troops pursued Khamfu before fighting a battle at Fang.
Phayao began as Old Phukamyao, a Tai polity centered on Sakkawanrajathani before Chomtham arrived from Ngoenyang. Chomtham restored the old capital and founded Wiang Phayao beside it, creating the “two capitals of Phayao” that survive today as districts within modern Phayao city. He divided the inner polity into panna districts and marked its borders with natural landmarks, while a Rishi helped map the realm from the banks of the Yom river.
The kingdom reached its height under Ngammueang, who came to the throne in 1258 CE and ruled during what chronicles call a golden age. He conceded Phan and Chiang Khian to Mangrai of Ngoenyang to secure an alliance, then later sent his son Khamlue to help Chaisongkhram retake Chiang Mai in 1318 CE. In 1338 CE Khamfu of Chiang Saen and Phanong of Nan sacked both capitals, and Lan Na annexed Phayao the same year, ending roughly two centuries of independent rule.
Rulers
Wars & turning points
Rulers & characters
- Khun Chomtham 11th–12th century CE [3]Founder of the Phayao dynasty · Ngoenyang cadet line
Sent by Lao Ngoenrueang of Ngoenyang to take the empty throne of Sakkawanrajathani, Chomtham founded Phayao by restoring the old capital and building Wiang Phayao beside it. He divided the inner polity into panna districts, demarcated borders with natural landmarks, and worked with a Rishi to map the realm from the Yom river.
He and Lao Ngoenrueang traveled seven days from Ngoenyang with soldiers and commoners to reach the old capital.
- Chueang 11th–12th century CE [3]Second king of Phayao · Chomtham line
Chueang inherited the throne after Chomtham but abdicated six years later to help Lao Chin of Ngoenyang defend against Kaew attacks. He won the war, took the Ngoenyang throne, conquered Mueang Kaew, and died in battle in 1192 CE at age 79.
He left Phayao to his brother Chong with the condition that Chong would inherit if he did not return.
- Khun Chong 11th–12th century CE [3]Third king of Phayao · Chomtham line
Chong ruled Phayao for twenty years under Dasavidha-rājadhamma, having studied the Aparihaniyadhamma and Pavenidhamma from his father. Chronicles describe his subjects as very happy under his rule.
He died at the age of 69 after two decades on the throne.
- Kaewwaenmueang 12th–13th century CE [3]Fourth king of Phayao · Chomtham line
The younger son of Chong, Kaewwaenmueang succeeded him and began a long dynastic succession in which each king was said to be the son of the previous ruler, leading eventually to Ngammueang.
Nine unnamed kings may stand between Chong and Ngammueang depending on chronicle tradition.
Follow Phayao - Ngammueang r. from 1258 CE [3]King of Phayao in its golden age · Chomtham line
Ngammueang ascended after his father Mingmueang in 1258 CE and is the first Phayao ruler attested outside chronicles. He allied with Mangrai of Ngoenyang, conceding Phan and Chiang Khian to preserve peace, and later sent his son Khamlue to help Chaisongkhram retake Chiang Mai in 1318 CE.
Chronicles claim the weather obeyed his wishes, earning him the name Ngammueang.
- Khamdaeng 13th–14th century CE [3]King of Phayao · Chomtham line
Khamdaeng succeeded Ngammueang and sent his son Khamlue to lead Phayao’s army in Chaisongkhram’s 1318 CE campaign to retake Chiang Mai. After victory he crowned Khamlue as Uparaja and arranged his marriage to Chaisongkhram’s daughter Kaewpota.
Chaisongkhram sent Kaewpota to Phayao with 300 servant families, who settled in Phan and Chiang Khian.
- Khamlue 14th century CE [3]Last king of Phayao · Chomtham line
Khamlue inherited the throne after Khamdaeng but lost both capitals in 1338 CE when Khamfu of Chiang Saen and Phanong of Nan sacked Phayao for its goods. Lan Na annexed the kingdom that same year.
He fled the city after the sack, while Khamfu refused to share the loot with Phanong.
Wars, rebellions & turning points
- War Conquest of Nan Kingdom [3]Phayao vs Nan Kingdom
Phayao conquered the Nan Kingdom, extending its influence eastward into the Nan river basin and incorporating outer mueang into the Hua Mueang Nok periphery.
Outcome: Phayao’s territory expanded to border Haripuñjaya and Nakhon Khelang in the south and Khon Nakhon to the northeast.
- War Retaking of Chiang Mai [3]Phayao and Chaisongkhram vs Khreu and Lanna loyalists
Khreu, the exiled son of Mangrai, gathered an army from Mueang Nai to coup the Lanna throne. Chaisongkhram organized Thao Namtuam’s army to retake Chiang Mai, and Khamdaeng sent his son Khamlue to lead the Phayao contingent.
Outcome: Phayao won the battle at Chiang Mai, and Khamlue returned to report the victory before being crowned Uparaja.
- War Sack of Phayao and annexation by Lan Na [3]Khamfu of Chiang Saen and Phanong of Nan vs Phayao
Khamfu invited Phanong of Nan to attack Phayao. The two sacked both capitals, Wiang Namtao and Wiang Phayao, for their goods, forcing Khamlue to flee. Khamfu then refused to share the spoils, provoking Phanong to pursue him to Chiang Saen and raid Fang.
Outcome: Lan Na annexed Phayao in 1338 CE, ending the kingdom’s independent existence after roughly two centuries.
Achievements & reckoning
Achievements
- Foundation of the twin capitals [3]
Chomtham restored Sakkawanrajathani as Wiang Namtao and founded Wiang Phayao beside it, modeled on Ngoenyang. The two settlements formed the administrative core of Phayao and remain part of modern Phayao city.
- Panna district administration [3]
Chomtham reorganized the inner polity into panna districts, either twelve or thirty-six depending on chronicle tradition, and demarcated borders using natural landmarks such as Doi Ra-Pha Konsao and the Kok river.
- Menhir monument at the Yom river [3]
Chomtham and a Rishi created a monument of three menhirs by the Yom river as proof of their mapping of the inner polity, leaving a physical marker of the kingdom’s territorial conception.
- Alliance with Ngoenyang [3]
Ngammueang negotiated with Mangrai using Kham Mueang and conceded Phan and Chiang Khian to Ngoenyang, avoiding conquest and preserving Phayao’s independence through diplomacy rather than war.
Reckoning
- Loss of Thoeng and Chiang Kham [3]
Mangrai’s expansionist campaign annexed Thoeng and Chiang Kham from Phayao, driven by resource scarcity and population pressure in Ngoenyang, shrinking Phayao’s western and northern reach.
- Transfer of northern border cities [3]
When Lao Hoeng ascended the Ngoenyang throne, the northern cities of Chae Hiang, Chae Lung, Pakbong, and Nongkwang were transferred from Phayao to Ngoenyang, reducing Phayao’s frontier control.
- Sack of both capitals [3]
In 1338 CE Khamfu and Phanong sacked Wiang Namtao and Wiang Phayao for goods, destroying the political centre and forcing Khamlue to flee before Lan Na annexed the kingdom.
- Dynastic succession gaps [3]
Chronicles list nine unnamed kings between Chong and Ngammueang, leaving most of Phayao’s early rulers unknown and weakening the historical record of the kingdom’s formative centuries.
Deeper cuts
Buddhist kingship and the ten royal duties
Khun Chong ruled Phayao according to Dasavidha-rājadhamma, the ten duties of a righteous king, after studying the Aparihaniyadhamma and Pavenidhamma from his father. Chronicles say this made the kingdom very happy, suggesting that Theravada Buddhist moral governance shaped Phayao’s political culture alongside Tai folk religion.
Chong studied Aparihaniyadhamma and Pavenidhamma before his twenty-year reign.
Servant families and resettlement
After Chiang Mai was retaken in 1318 CE, Chaisongkhram sent his daughter Kaewpota to Phayao with 300 servant families, who settled in Phan and Chiang Khian. This practice moved households as political gifts, binding elite marriages to the relocation of ordinary people.
Three hundred servant families accompanied Kaewpota to Phan and Chiang Khian.
River-basin economy
Phayao covered the Ing, Kok, Wang, Yom, Nan, and Khop river basins within the Yonok basin, giving the kingdom access to waterways that linked its mueang to neighbouring regions. The core region of Mueang Phayao was directly governed by the city, while Hua Mueang Nok formed the outer periphery.
The kingdom spanned six named river basins surrounded by the Phi Phan Nam Range.
Inner and outer mueang
The Phayao Chronicle divided administration into Mueang Phayao, the core region directly ruled by the city, and Hua Mueang Nok, the periphery of outer cities previously part of Old Phukamyao and reconquered by Chomtham. Chomtham explored the inner mueang starting from the Yom river with the help of a Rishi.
Three menhirs were erected by the Yom river to mark the mapping of the inner polity.
Northern Thai speech
The common language of Phayao was Northern Thai, also called Kham Mueang, the lingua franca of the Tai Yuan peoples. Ngammueang and Mangrai negotiated in this language, showing its role as a diplomatic medium between Tai kingdoms.
Ngammueang and Mangrai conducted alliance talks in Kham Mueang.
Structural lenses
Drafted by GPT-6 Luna (lens-v1.1) from the cited sources.
A Royal Marriage Moved 300 Servant Families
After Khamlue led Phayao’s forces in support of Chiang Mai, Khamdaeng sought a marriage alliance with the ruling house there. The bride, Kaewpota, arrived with 300 servant families, who settled in Phan and Chiang Khian. The chronicle records a substantial household transfer embedded in dynastic diplomacy, though it does not specify the servants’ legal status.
Three Menhirs Marked the Inner Realm
After restoring the old capital and establishing a second beside it, Chomtham and Lao Ngoenrueang surveyed the inner polity and marked the event with a monument of three menhirs. Chomtham then divided the core territory into panna and set its boundaries by natural landmarks, joining political mapping to a durable stone marker.
Buddhist Virtues as a Measure of Kingship
The Phayao Chronicle praises Khun Chong for ruling through Dasavidha-rājadhamma, the ten royal virtues, and studying Aparihaniyadhamma and Pavenidhamma from his father. Its account makes ethical instruction a basis for legitimate rule and links the ruler’s education to the kingdom’s reported happiness.
Underappreciated & strange truths
After the 1338 sack, Khamfu kept the captured goods for himself. Phanong then turned his Nan army against Chiang Saen, showing how a raid on Phayao dissolved into a wider quarrel over stolen wealth.
- Weather obeyed the king [3]
Chronicles claim that wherever Ngammueang went, the weather was neither hot nor rainy, and could be made shady or sunny at his wish, giving him his name and marking his reign as a golden age of popular contentment.
- Three-day interregnum [3]
After the deaths of Suthasom and Anuraj of Old Phukamyao, the kingdom was left without a ruler for three years, allowing local nobility to seize power over smaller cities within the polity before Chomtham arrived.
- Allies became destroyers [3]
Khamdaeng sent Khamlue to help Chaisongkhram retake Chiang Mai in 1318 CE, yet twenty years later Khamfu—connected to that same Lanna court—joined Phanong of Nan to sack Phayao’s two capitals and end the kingdom.
State ledger
- Lifespan
- 1294–1343 CE
- Peak territory
- 5,148 km²
Connected world
Phayao shared the Kham Mueang language and river corridors of the upper Mekong region with Ngoenyang, Nan, Chiang Saen, and Lanna, while its capitals and basin territories later passed into Lan Na.
Drafted by HY4 Flash (links-v2.0) from the cited sources.
-
Phayao sent an army under Khamlue to help Lanna's Chaisongkhram retake Chiang Mai; after the victory Khamlue married Kaewpota, and 300 servant families settled in Phan.
Drafted by MiniMax M3.1 Flash (polity-v1.4) from three cited sources · almanac by MiniMax M3.1 Flash (almanac-v1.2) · deep lenses by GPT-6 Luna (lens-v1.1), and checked that every citation points to one of them. See the evidence How AI is used
IXArchives & dossiers
Dossiers across this ground
- Majapahit Trowulan & the Archipelago Spice Web (1365 CE) · SE Asia & Oceania, 1365 CEOpen dossier →
Red-brick canal capital, Moluccan clove routes, Gajah Mada's oath, and the Nagarakretagama palm-leaf chronicle
- Sukhothai & Si Satchanalai: Siamese Script, Celadon & Canal Kilns (1292 CE) · SE Asia & Oceania, 1292 CEOpen dossier →
How Tai lords shaped Mon and Khmer alphabets into Thai script while exporting thousands of bowls from Yom River kilns
Primary archive holdings
- Sukhothai Sawankhalok Covered Jar · 1300 CE
Cleveland Museum of Art · 1300s · Si Satchanalai / Sukhothai
XCulture & letters
Primary works, letters & books
No matching primary books indexed for this span yet.
XISources & provenance
- Cliopatria Historical Polity Borders v0.2.0 (Seshat Databank). CC-BY-4.0.
- Wikidata Historical Entities & Lineage Spine. CC0-1.0.
- Wikipedia — Phayao Kingdom. CC-BY-SA-4.0.