wichaa › Subjects › King Mangrai (founder of Lanna)
Mangrai (พญามังราย; also written เม็งราย, Mengrai) is the founder-king of the world this archive documents — builder of Chiang Rai (1262) and Chiang Mai (1296), first of the dynasty (ราชวงศ์มังราย) that ruled Lanna for two and a half centuries. He is also the one fastening from which the whole machine hangs: pull this single name and the kingdom's law-book (Mangraisat), its chronicles, its lessons for princes, thirty-one wats on the map, a living festival, and a bronze body-double all come up with it. Every axis the archive sorts by passes through him somewhere.
One king, two spellings. The older sources and this archive's own titles write มังราย (Mangrai; the catalogue's romanisation system gives manglai); เม็งราย (Mengrai) is widespread in later and modern usage — the Chiang Rai festival, several wats, most street signs. They are the same man, and both spellings reach this page.
Tradition — the frame below is from the wider chronicle tradition (the Yonok, Chiang Mai and Chiang Rai recensions), not established from this catalogue's own witnesses; treat the story as orienting, not authoritative. The shelf-marks cited along the way, though, are this collection's hard data — the story is the spine, and the manuscripts hang from it as stations.
The chronicles put his birth at Ngoenyang (Chiang Saen) in พ.ศ. 1781 (1238/9), heir to its ruling line. He came to the throne in 1261 and within a year had planted a city under his own name: Chiang Rai, founded 1262 (พ.ศ. 1805) — tradition holds on a site shown to him from the hill of Wat Phra That Doi Chom Thong, where his runaway elephant stopped. The city still keeps his name on Wat Mengrai Maharat and keeps his founding day — 26 January — as its civic birthday, of which more below.
Tradition — before he was a lawgiver on palm-leaf he was one in person. When his sworn friend Ngam Mueang of Phayao caught his other ally, Ramkhamhaeng of Sukhothai, with his queen, it was Mangrai the two kings accepted as arbiter — and his ruling was not war but compensation: the wrong priced, paid, and closed, faces kept all round. Inference — that is precisely the machinery of the code that later bears his name — the Mangraisat is at heart a book of tariffs for injury and wrong — and whether the story shaped the code or the code the story, the tradition remembers the man and the method together.
Tradition — the conquest that made Lanna possible was not won in battle, and it is the best story in the founder's life. Downriver lay Haripunchai (Lamphun) — Mon-speaking, literate, centuries older than anything Mangrai had, the regional seat of Buddhist learning and the one prize worth taking. It was also, by every account, too strong and too well-walled to storm.
So he did not storm it. He sent a man in. The chronicles name the agent อ้ายฟ้า (Ai Fa), dispatched not as a raider but as a defector — a man with a plausible grievance, who presented himself at Haripunchai's court, took service under its king Yiba, and stayed. He was good at the work. He rose, in most tellings to high office. Accounts differ on how long he served — the common range runs to somewhere between five and ten years, long enough that his loyalty had stopped being a question anyone asked — and in all of them he spent that time doing his job badly on purpose, in ways nobody could name as treason: the corvées that exhausted the population, the public works that cost everything and returned nothing, the canals that watered no fields. By the time Mangrai's army appeared, around 1281, the city that could not be stormed had been hollowed out from within by its own trusted minister, and it is said to have opened with very little fighting. Yiba fled south. The most cultivated city in the north changed hands because a patient man had spent a decade being helpful.
Inference — the archive quietly confirms what the conquest was for. Mangrai did not erase Haripunchai's book-culture; he inherited it. The chronicle of its founding queen, the Cāmadevīvaṃsa, survives here in Pali copies — ms 1350, dated 1833, and ms 1331, dated 1842 — both shelved not in Lamphun but at Wat Sung Men in Phrae, alongside ms 3790, the tamnan of Haripunchai's great reliquary, copied at Wat Duang Di in Chiang Mai in 1861. Five and a half centuries after the city fell, northern monasteries were still copying the conquered city's story. That is what winning looks like in a chronicle tradition.
Haripunchai did not become the capital. He spent the years after it at Wiang Kum Kam — the riverside experiment that kept flooding, whose chedi still stands at Chedi Liam, the city before the city. In 1296 he laid out Chiang Mai, "the new city", with — the chronicles insist — Ngam Mueang and Ramkhamhaeng at his side advising on the plan. Three kings, one city: the monument to that scene still anchors the old town's civic heart. His first temple there, Wat Chiang Man, he raised on the camp where he supervised the building — and it is at Wat Chiang Man that this archive's copy of ราชวงศ์มังราย, the dynastic chronicle (ms 798), is held: the king's lineage-book still shelved in the king's own first building. Two more chronicle witnesses, Phawat phanya manglai (ms 4315) and a Manglai (ms 4168), carry the same line of memory.
In this collection the king survives above all as law. Of the two dozen witnesses that carry his name, eighteen are classed customary law — the Mangraisat tradition, under titles like Kotmai phanya manglai (ms 555), Kalong phanya manglai (ms 4913), Nangsue manglai (ms 1277) and Kong manglai (ms 4004), copied and recopied from Nan to Mae Hong Son. One title yokes his code straight to the cosmic law: Kadi lok kadi tham manglai thammasat (ms 232), the worldly and the dhamma-law poles bound in a single name. And the seam between story and statute barely exists at this king's name: two copies titled ตำนานพญามังราย — chronicle by name (ms 641 from Nan, ms 5574 from Wat Si Khom Kham, Phayao) — were classed by their cataloguers as law. At Mangrai's name, story and statute were not kept on separate shelves. The full legal reading of the cluster is the Mangraisat page's work; this page notes only that every copy renews the king along with the code.
One title is startlingly concrete about what that code covers. ms 233, from Wat Phra That Chang Kham in Nan and dated 1861, is catalogued as อวหารของพระยามังราย — the thefts of Phanya Mangrai: an entire fascicle of the king's law given over to stolen property. It belongs to a cluster of nine theft-books in this corpus, five of which count the offence into twenty-five enumerated kinds — a scheme the Mangraisat page traces back to the monastic Vinaya commentary. The founder's name sits on top of a working criminal taxonomy.
And not where you would expect. Of the twenty-four witnesses, exactly one comes from Chiang Mai — the dynastic chronicle at Wat Chiang Man. The rest scatter outward: seven from Nan, seven from Phayao, three from Lampang, two from Phrae, one from Mae Hong Son. Inference — the founder's name travelled better than his capital did. The houses that kept recopying Mangrai's law were the müang he never ruled directly and the ones furthest from the throne — which is how a legitimating name is supposed to behave. You invoke the founder hardest where he is least present.
The tradition also kept his voice as a father's. Manglai son luk — "Mangrai teaches his children" (ms 263) — is a didactic text in the counsel-of-kings line, with a cousin in Owat kham son phraya mangrai (ms 5605). Inference — the proportions across the whole cluster are the point: Lanna's scribes recopied Mangrai as lawgiver first, ancestor second, teacher third. The man who built the cities survives in the manuscripts almost entirely as the name that makes rules binding.
Tradition — the Yonok chronicle gives the king's end like this: in พ.ศ. 1860 (1317 CE), at around eighty years old, Mangrai rode into the central market of Chiang Mai — กาดกลางเวียง, the beating heart of the city he had drawn on the ground twenty years before. The sky darkened, and a thunderbolt — อสนีบาต — struck him dead where he sat: the founder felled by the sky in the very middle of his own creation. Other recensions put it at พ.ศ. 1854 (1311 CE); the six-year split is a real discrepancy between chronicle lines, and this page keeps both numbers rather than smoothing them.
Tradition — contested: one folkloric strand reads the bolt as a judgment — punishment for a broken oath to keep only one queen. It is a moral told onto the event, not a fact of it: the strand is absent from the soberer recensions, and the tellings disagree about the vow itself. It is recorded here because the tradition records it, marked for exactly what it is — and it is worth noticing that the tradition reaches for oath and forfeit, the same legal instincts it credits to the king himself.
What the catalogue holds of this: lightning as a substance, not an event. Search all 6,990 titles for ฟ้าผ่า (lightning strike) or อสนีบาต (thunderbolt) and the result is zero. No chronicle of the death is shelved here. The most famous single event in the king's story, told in every chronicle of the Yonok family, has not yet entered this collection.
What the archive does hold is the lightning itself, as material. Nine pages of the contributed printed treatises use ฟ้าผ่า — every one of them meaning ไม้ฟ้าผ่า, lightning-struck wood, prized as amulet stock. In Making Sacred Charms and Amulets (p.39) a rite calls for splinters of lightning-struck wood cut a span long for firewood, four posts at the four directions strung round with virgin thread, four leaf-trays of red and yellow rice set at the four corners, four candles a span long, the cooking done on a Saturday or a Tuesday. Inference — the asymmetry is a fair description of what survived: these monasteries kept the king's law in two dozen copies and his death in none, while keeping the thunderbolt on the shelf as a ritual ingredient. The story above is therefore all marked tradition; the chronicle witnesses that would let this page cite shelf-marks instead are a named crawl target (see Notes).
Tradition — the city has never let the spot go. The shrine หอพญามังราย stands at the corner of Ratchawithi and Phra Pokklao roads, at the Klang Wiang crossing a few steps from the Three Kings Monument and from Wat Inthakhin Sadue Mueang, the old city navel — and it receives offerings daily, seven centuries on. His son Chaiyasongkhram carried the remains north to the first city, where they rest in the reliquary กู่พญามังราย at Wat Doi Ngam Mueang in Chiang Rai, on the hill behind Wat Phra Kaeo: the founder rests in his first city, not his last. Each 26 January, Chiang Rai's founding anniversary, the province pays homage at the กู่ and performs สืบชะตาเมือง — the city fate-extension rite — over the king and his city together: the same rite-logic this archive documents leaf by leaf, still working on the founder's own remains.
At Wat Phra Chao Mengrai in Chiang Mai's old city — by tradition the third royal temple of his founding — stands พระเจ้าค่าคิงพญามังราย, a standing Buddha tradition holds was cast ค่าคิง: at the king's own body-measure. The temple's record gives the image at some five and a half metres — the measure, like much else about the king, has grown in the keeping — but the logic of the name is the point: a body-double in bronze, made to stand where the body cannot, carrying the man's presence at the man's scale. It is the same logic this archive traces through the hun payont thread, where an effigy made to a person's measure carries their presence and their merit. The king who survives in the law as a name survives in bronze as a measurement.
Thirty-one wats in this archive's places layer carry his name or his story. The anchors, story-first: Wat Phra That Doi Chom Thong (where the site of Chiang Rai was chosen), Wat Mengrai Maharat (Chiang Rai's temple in his name), Chedi Liam (Wiang Kum Kam, the city before the city), Wat Chiang Man (first foundation, holder of ms 798), Wat Phra Chao Mengrai (the body-measure Buddha), Wat Inthakhin Sadue Mueang (the city navel, by the shrine at the crossing), and Wat Doi Ngam Mueang (the reliquary).
The rest of the company: Wat Chedi Luang · Wat Duang Di · Wat Phun Ohn · Wat Loi Kroh · Wat Saen Fang · Wat Lam Chang · Wat Sam Pao · Wat Chai Sri Phoon · Wat Chet Lin · Wat Mueang Mang · Wat Si Bun Rueang · Wat Muentoom · Wat Chang Kham · Wat Mo Kham Tuang · Wat Muen Ngun Gong · Wat Cheatawan · Wat Jed Yod · Wat Nong Phueng · Wat Tamnak Suankhwan · Wat Umong Suan Phutthatham · Wat Chet Yot, Chiang Rai · Wat Tilok Aram · Wat Si Khom Kham · Wat Aranyawiwake · Wat Chai.
The king keeps a festival: งานพ่อขุนเม็งรายมหาราช, the King Mengrai Festival, Chiang Rai's provincial annual fair, by custom opening around 26 January — the anniversary of the founding in พ.ศ. 1805 — and running a week and more with the provincial Red Cross fair, alongside the homage and สืบชะตาเมือง at the กู่. Seven centuries on, the founder's civic birthday is still the biggest date on his city's calendar.
The live connections graph and any current curiosity-bot findings.