Towards the end of the 14th century Nan became one of the nine northern Thai-Lao principalities that comprised Lan Na Thai (now known simply as Lanna). The city-state flourished throughout the 15th century under the name Chiang Klang (Middle City), a reference to its position approximately midway between Chiang Mai (New City) and Chiang Thong (Golden City, which is today’s Luang Prabang).