According to the ancient records, the sanctuary was built by hiranya, who dedicated it to his sadhu father, narenthrathit, in the reign of suryajvarman 2. The structure`s construction is dated between 1078 and 1178 c.e. in the same period as the phimai and phanom wan sanctuaries of 1080-1106 c.e., in nakhon ratchasima.