The temple Prasat Hin Phimai, in the center of the town, was one of the major Khmer temples in what is now Thailand, connected with Angkor by the Khmer highway, and oriented so as to face Angkor as its cardinal direction.