Angkor Thom was established as the capital of Jayavarman VII's empire, and was the centre of his massive building programme. One inscription found in the city refers to Jayavarman as the groom and the city as his bride.
Angkor Thom seems not to be the first Khmer capital on the site, however. Yasodharapura, dating from three centuries earlier, was centred slightly further northwest, and Angkor Thom overlapped parts of it. The most notable earlier temples within the city are the former state temple of Baphuon, and Phimeanakas, which was incorporated into the Royal Palace. The Khmers did not draw any clear distinctions between Angkor Thom and Yashodharapura: even in the fourteenth century an inscription used the earlier name. The name of Angkor Thom—great city—was in use from the 16th century.