Wat Phra That Hariphunchai is in center of lamphun,
Lamphun is one of Thailand’s oldest cities. It was founded in the 9th century and was the capital of the Hariphunchai kingdom.
According to legend, the temple was founded by Hariphunchai King. It was built on the spot where the Palace of the first ruler of the Hariphunchai Kingdom, Queen Chamadevi used to be.
At the end of the 13th century, Hariphunchai was besieged by King Mengrai who brought Lamphun into the Lanna Kingdom. About mid 15th century, the temple was renovated and expanded with a number of Lanna style structures.