Phimai, a small town in the northeastern province of Nakhon Ratchasima (Khorat), was in ancient times a Khmer city named Vimayapura. The Phimai Historical Park protects one of the most important Khmer temples in Thailand, a temple marking one end of the Ancient Khmer Highway from Angkor.