Chiang Mai is the biggest city in northern Thailand. The city's name is Thai for "new city" because it replaced Chiang Rai, meaning "old city", as the capital of the Lan Na Kingdom. It is the capital of Chiang Mai Province, the second-biggest province of Thailand. Neighboring provinces are (from northeast to northwest) Chiang Rai, Lampang, Lamphun, Tak, and Mae Hong Son. In the north it is next to Shan State of Myanmar.