After Meng collected Hariphunchai the Ionian Saen completed. The new name has entered the kingdom said. "Lanna" He has the intention to build a new capital city of this big to fit into the administrative center of the kingdom over all. At the same time, it Invite friends and close associates, including his second oath. Phaya Ngam Muang of Phayao and Ramkhamhaeng of Sukhothai. Came together to establish the capital of a new arena in the lowland area along the banks of the Great Mother Raming Tea (river), the name of this new era. "Dr. Chiang Mai" But before the city. He has already built up a temporary capital. This is called Wiang Kum Kam Wiang Kum Kam, but because of natural disasters caused massive flooding into the underworld. So he moved to the capital in Chiang Mai in the year 1839 and is the administrative center of Lanna Kingdom since. Mai border area between Hill Agaichgag (Doi Suthep) and plains on the right bank of the river (against the people) is the battleground of good and suitable for cultivation because of the river basin area.