Along an overland trade route from India, it is through this pass that Buddhism was thought to first to arrive in Thailand around the 3rd century. The province and its pass were later controlled by the Khmer of Angkor in the 13th century, who built a fort there ( a Khmer temple from the time has been restored as a tourist attraction).