The Mon Kingdom of Hariphunchai: Secrets of Ancient Lamphun


Statue of Queen Jamadevi in Lamphun
Statue of Queen Jamadevi in Lamphun

The Mon Kingdom of Hariphunchai: Secrets of Ancient Lamphun

Long before King Mangrai founded Chiang Mai or the Lanna Kingdom rose to power, the mountain-framed Ping River basin was ruled by a remarkable Mon queen. Queen Jamadevi (also spelled Chama Thewi) was a 7th-century Mon princess who marched hundreds of kilometers north from Lavo (modern-day Lopburi) to establish the independent Kingdom of Hariphunchai in modern Lamphun.

Her story is part history, part legend, and part sacred tradition. The old chronicles do not agree on every date or detail, but they consistently present Jamadevi as a capable queen, a Buddhist patron, and the founding figure of one of northern Thailand’s earliest kingdoms.

The oldest written records about her vary considerably as to her birthdate, length of her reign, and the date of her death, and the legends surrounding her, so I am leaving those details vague. Her reign is part of the Mon Dvaravati history, long before the Lanna Kingdom.

The Great Migration North (@661 AD)

According to ancient Northern chronicles like the Jinakalamali, a holy hermit named Vasudeva founded a settlement in the fertile valley of the Kuang River. Recognizing that the local population needed sophisticated governance, he sent an embassy south to Lavo, requesting a royal ruler. Princess Jamadevi, the daughter of the King of Lavo, accepted the throne despite being heavily pregnant with twin sons.

Her expedition north was a massive cultural transfer rather than a simple royal journey. Legend says that leading a fleet of river barges up the Chao Phraya and Ping rivers, she brought along 500 Buddhist monks, 500 scholars, 500 stone carvers, and hundreds of artisans, doctors, and legal experts. The five-month journey transplanted Theravada Buddhism, Mon literacy, and advanced legal frameworks directly into the northern highlands.

When Jamadevi arrived, she became the first monarch of the new kingdom. Her coming was more than a royal procession; it represented the arrival of a complete culture, including religion, government, architecture, literacy, and artistic knowledge.

Outsmarting the Mountain Chieftain

Upon her coronation as the first monarch of Hariphunchai, Jamadevi faced immediate resistance from the indigenous Lua (or Lawa) tribes living in the surrounding Doi Suthep mountains. She defeated the Lawa dynasty’s Khun Luang Wilangka, the 13th king of Raming Nakhon, who massed thousands of warriors near the city gates and demanded her hand in marriage, threatening total war if she refused.

Recognizing that a direct military clash would ruin her young kingdom, Jamadevi employed brilliant psychological warfare and political delay tactics. Legend tells that she agreed to marry him only if he could hurl a spear from the top of Doi Suthep mountain into the heart of her palace grounds.

Using supernatural powers or sheer mountain strength, Wilangkha’s first throw landed just outside the city walls. Terrified by his prowess, Jamadevi presented him with a ceremonial hat and a pouch of betel nut secretly woven from a piece of her own soiled lower garment.

The spiritual pollution stripped the chieftain of his strength, causing his second throw to drop harmlessly at his own feet. Humiliated and outsmarted, the Lua forces withdrew, eventually integrating peacefully into the kingdom’s trade network.

There are several different fables about the resistance from the Lua, and how Queen Jamadevi handled them with sharp intelligence, cunning, or even magical powers. But in all of them the end result was the same – peaceful integration.

The Golden Age of Hariphunchai

After securing peace, Jamadevi ruled for over two decades (depending on which chronicle you read), laying out the oval city walls of Lamphun that are still visible in modern street maps. She eventually abdicated in favour of her twin sons, Mahantayot and Anantayot. Mahantayot assumed the throne of Hariphunchai, while Anantayot moved further north to found Khelang Nakhon (modern-day Lampang).

Old lamphun city walls2
Old Lamphun City Walls

This part of the story expands Jamadevi’s importance beyond Lamphun. Through her sons, she became connected with the growth of several northern centers. The tradition also presents her dynasty as a source of order in a region that was developing new towns, trade routes, religious institutions, and systems of government.

The accounts don’t provide information that can be confirmed in every detail, but the story has remained influential because it links the early histories of Lamphun and Lampang.

A Patron of Buddhism

Jamadevi’s greatest lasting influence may have been religious. She is traditionally credited with bringing Buddhist monks and teachings from Lavo and with making Hariphunchai an important Buddhist center.

Wat ku kut mon stupa
Wat Ku Kut Mon Era Stupa

Monasteries in this period were not simply places for prayer. There were also schools, libraries, workshops, and meeting places. Monks preserved texts, taught literacy, advised rulers, and helped spread artistic and architectural traditions. By supporting Buddhism, Jamadevi helped give Hariphunchai a cultural identity that endured long after her reign.

Her Passing

Jamadevi’s death is also surrounded by tradition rather than facts. Later accounts describe her as living to an extraordinary age, sometimes well beyond what would be considered historically likely. She is said to have spent her later years devoted to Buddhism and religious merit.

This unusual longevity is best understood as a sign of respect rather than a precise biographical detail. In traditional storytelling, a long life often shows that a ruler possessed great merit and enjoyed divine or spiritual protection.

Her final years therefore complete the image of Jamadevi as an ideal Buddhist queen. She founded a kingdom, protected its people, supported the faith, raised a royal family, and eventually turned from worldly power toward religious devotion.

Her Palace later became Wat Phra Maha That Hariphunchai, which still survives to this day, and amongst the many stupas in the temple grounds is one of the most unusual of it’s type in Thailand – it contains the tusks of the Queen’s war elephant!

War elephant chedi

Hariphunchai flourished as a center of Mon-Dvaravati culture and Buddhist scholarship for over 600 years, outlasting its parent state in the south and standing as an independent city-state until King Mangrai absorbed it into his Lanna kingdom in 1292.

Visiting Her Legacy Today in Lamphun

For enthusiasts exploring Northern Thailand, Lamphun offers tangible connections to this founding monarch, located just a 40-minute drive south of Chiang Mai:

Wat Chama Thewi (Wat Ku Kut): Home to the iconic Suwanna Chang Kot Chedi, a rare 5-tiered square pyramid built in the Mon-Dvaravati style. Local tradition holds that Queen Jamadevi’s ashes are enshrined within its brick walls.

Queen Jamadevi Monument: Located near the center of town, where locals pay respect daily with offerings of red roses.

Wat Maha That Hariphunchai
Wat Phra Maha That Hariphunchai

Wat Phra That Haripunchai: The sacred center of the ancient kingdom, featuring a golden chedi that stands on foundations dating back to the Mon era.

1