Lampang (ลําปาง, lām.pāːŋ; Northern Thai: ) is one of Thailand's seventy-six provinces (changwat), lies in upper northern Thailand. The old name of Lampang was Khelang Nakhon. Lampang is in the broad river valley of the Wang River, surrounded by mountains. In Mae Mo district lignite is found and mined in open pits. To the north of the province is the high Doi Luang. Within the province are Chae Son and Doi Khun Tan National Parks in the Khun Tan Range, as well as Tham Pha Thai, Doi Luang National Park, and the Huai Tak Teak Biosphere Reserve in the Phi Pan Nam Range. The total forest area is or 70 percent of provincial area. There are a total of eight national parks, six of which are in region 13 (Lampang branch), Doi Luang in region 15 (Chiang Mai), and Wiang Kosai in region 13 (Phrae) of Thailand's protected areas. Tham Pha Tai National Park, Doi Luang National Park, Mae Wa National Park, Wiang Kosai national Park, Doi Chong National Park, Chae Son National Park, , Doi Khun Tan National Park, , Khelang Banphot National Park, , There are two wildlife sanctuaries, Doi Pha Muang in region 13 (Lampang branch) and Tham Chao Ram in region 14 (Tak) of Thailand's protected areas. Doi Pha Muang Wildlife Sanctuary, Tham Chao Ram Wildlife Sanctuary, Starting in the 7th century Lampang was part of the Dvaravati period Hariphunchai Kingdom of the Mon. In the 11th century the Khmer Empire occupied the Lampang area, but it was King Mengrai of Lanna who incorporated the complete Haripunchai Kingdom into his kingdom in 1292. Lampang or Nakhon Lampang or Lakhon, was under Burmese rule after the fall of Lanna Kingdom from the 16th century to 18th century. During the uprising against Burmese rule by Siam's new kings in the late-18th century, a local Lampang leader became Siam's ally. After the victory, the leader, Kawila, was named the ruler of Chiang Mai, the former center of Lanna, while his relative ruled Lampang. The city continues to be one of the important economic and political centers in the north. Lampang became a province of Thailand in 1892.