In the 11th century, the Khmer Empire occupied the Lampang area. King Mengrai of Lanna took control of the region and made it part of his kingdom in 1292. Lampang became a province of Thailand in 1892.