Following Angkor's rediscovery by the outside world in the mid-19th century, decades passed before archeologists grasped Phnom Bakheng's historical significance. For many years, scholars' consensus view was that the Bayon, the temple located at the center of Angkor Thom city, was the edifice to which the Sdok Kak Thom inscription referred. Later work identified the Bayon as a Buddhist site, built almost three centuries later than originally thought, in the late 12th century, and Phnom Bakheng as King Yasovarman's state temple.