In the Mon controlled Thailand there was the Dvaravati Kingdom of the central Chao Phra Valley and to its north the Mon Kingdom of Haripunchai, the capital of which was the town Haripunchai [ now called Lamphun ]. Mon Haripunchai architecture is distinct in form and serves Buddhist functions.