wichaa › Subjects › Mangraisat (Mangrai code)
The Mangraisat (มังรายศาสตร์, "the law of Mangrai") is Lanna's own law-book — the body of customary and royal law ascribed to King Mangrai, founder of Chiang Mai in 1296. Where the thammasat supplies the cosmic frame — law as something eternal, discovered rather than made — the Mangraisat supplies the enforceable code of a specific kingdom: what counts as theft, what an injury costs, who owes what to whom when the water runs short.
That is the abstract description, and it is the least interesting thing about it. What makes this cluster worth reading is the particulars, and this archive preserves enough of them — in the titles the scribes themselves wrote — to show a legal imagination that is much stranger, and much more specific, than "customary law" suggests.
Start with the single best-attested provision in the corpus.
Bound into ms 2802 at Wat Mueang Mo in Phrae is a fascicle whose title lists its three contents in order, and the order is the whole point: มังรายศาสตร์, อวหารซาวห้า และตำราหลอมโลหะ — the Mangraisat, the twenty-five thefts, and a manual for smelting metal. One palm-leaf bundle, three subjects: the king's law, a taxonomy of stealing, and metallurgy. Nobody sorted these apart, because to the person who commissioned the copy they were one working kit.
อวหาร (awahan, Pali avahāra) is the technical word — not "theft" in the loose sense but the act of carrying a thing out of its owner's possession, the moment ownership breaks. And ซาวห้า is Northern Thai for twenty-five (ซาว, "twenty", is the Kam Mueang numeral a Central Thai speaker would give as ยี่สิบ). Twenty-five enumerated ways to commit it. Not a prohibition — a classification system, of the kind you build when you have to decide real cases and "he stole it" is not precise enough to sentence anyone on.
The archive holds the twenty-five in five copies, spread across four provinces: ms 4817 at Wat Phra That Lampang Luang, ms 5578 at Wat Si Khom Kham in Phayao (dated 1885), ms 5707 at Wat Tun Klang, ms 6460 at Wat Phra Sing in Chiang Rai (dated 1851), and the Mangraisat bundle above. Add the copies titled simply อวหาร / อวหาน — ms 233, ms 3821, ms 4996 and ms 5579 — and the theft-cluster runs to nine witnesses on the standard spelling, with a tenth, ms 4344, hiding under the variant อะวะหาร. Inference — a term spelled four different ways across nine temples is a term in active use, not a dead citation copied forward.
Now the detail that reframes the whole cluster. Look at how the cataloguers filed these nine. Two are customary law. Two are didactic. And five are classed Buddhist canonical — because one of them, ms 4817, says outright what the others imply. Its title is วิไนอวหารซาวห้า: the Vinaya's twenty-five thefts.
Tradition holds — the enumeration is monastic in origin. The Pali Vinaya's second pārājika is the rule against taking what is not given, and the great commentary on the Vinaya, the Samantapāsādikā, works that single rule out into an exhaustive scheme of modes of taking — by stealth, by force, by concealment, by moving the object, by shifting a boundary marker, by substitution, by trust abused — the tradition counting them at twenty-five. It exists because a monk who steals is expelled for life, so the line between theft and not-theft had to be drawn with unusual care.
Inference — and here is the through-line this archive can actually demonstrate. The commentary that houses the twenty-five is itself in the collection: forty witnesses of the Samantapāsādikā, thirty-three of them at Wat Sung Men in Phrae. The apparatus and the application sit on the same shelves in the same province. A rule written to decide whether a monk had broken his ordination was lifted out of the monastic commentary and put to work deciding whether a villager had stolen a buffalo — and the scribes were untroubled enough about the crossing that they bound it straight into the king's code. That is what "customary law" means here: a Vinaya distinction doing duty as criminal procedure.
The Mangraisat proper is title-level in this collection, but the wider law genre — 134 witnesses — advertises its subject matter in its titles, and they are specific:
Around these sit the recurring text-families the northern legal shelf is actually built from, none of them named for Mangrai at all: โลกวิไนย Lokawinai, "worldly discipline" (23 witnesses); มุลละตันไตร Munlatanthalai (24); คดีโลกคดีธัมม Kadi lok kadi tham, "worldly cases and dhamma cases" (16); เสทาโมจนะ Setamocana (9); มนุสสวินัย Manutsawinai, "human discipline" (7); and อาณาจักร Anacak, the secular-authority texts. Inference — note how many of these borrow monastic vocabulary — วินัย, discipline, is the Vinaya's own word. Lanna's secular law described itself, persistently, in the grammar of the monks' rule-book.
Twenty-four witnesses carry a Mangrai name, eighteen of them classed as customary law; the remainder — chronicle, lesson and canonical copies — are surveyed on the King Mangrai page. The straight Mangraisat copies include ms 2030 at Wat Sung Men, ms 5662 at Wat Yuan in Phayao, and the three-part bundle ms 2802 already met above. This is one of the archive's more solid clusters — a genuine, multi-copy legal tradition attested directly in the manuscripts, not merely inferred.
The map is the surprise. Sort the 134 law witnesses by province and the result is almost unnervingly regular: Phrae 23, Phayao 23, Nan 23, Lampang 23, then Chiang Mai 14, Lamphun 7, Chiang Rai 5. Four provinces holding an identical count.
Inference — that evenness is a real signal, and it is best appreciated against its opposite. Most distributions in this archive are dominated by a single surviving library — Wat Sung Men alone supplies 43% of the canonical manuscripts. Law is the genre where that effect disappears: Wat Sung Men holds just 12 of the 134. Nobody's great library is doing the work here. Instead, every müang kept its own law, in roughly the same quantity, because every müang had to actually decide cases. Where the scholastic genres record what one institution managed to preserve, the law records what everyone independently needed. Dated witnesses run 1772 to 1974 — two full centuries of a code still being recopied.
Tradition holds — the following is background from the wider Thai–Lanna legal tradition, not established from these specific manuscripts.
The live connections graph and any current curiosity-bot findings.