Angkor
In the early days of Angkor, the worship of Vishnu was secondary to that of Shiva. The relationship seems to have changed with the construction of Angkor Wat by King Suryavarman II as his personal mausoleum at the beginning of the 12th century. The central religious image of Angkor Wat was an image of Vishnu, and an inscription identifies Suryavarman as "Paramavishnuloka," or "he who enters the heavenly world of Vishnu." Religious syncretism, however, remained thoroughgoing in Khmer society: the state religion of Shaivism was not necessarily abrogated by Suryavarman's turn to Vishnu, and the temple may well have housed a royal lingam. Furthermore, the turn to Vaishnavism did not abrogate the royal personality cult of Angkor. by which the reigning king was identified with the deity. According to Angkor scholar Georges Coedès, "Angkor Wat is, if you like, a vaishnavite sanctuary, but the Vishnu venerated there was not the ancient Hindu deity nor even one of the deity's traditional incarnations, but the king Suryavarman II posthumously identified with Vishnu, consubstantial with him, residing in a mausoleum decorated with the graceful figures of apsaras just like Vishnu in his celestial palace." Suryavarman proclaimed his identity with Vishnu, just as his predecessors had claimed consubstantiation with Shiva.
Angkor Wat
Beyond, the second and inner galleries are connected to each other and to two flanking libraries by another cruciform terrace, again a later addition. From the second level upwards, devatas abound on the walls, singly or in groups of up to four. The second-level enclosure is by , and may originally have been flooded to represent the ocean around Mount Meru. Three sets of steps on each side lead up to the corner towers and gopuras of the inner gallery. The very steep stairways represent the difficulty of ascending to the kingdom of the gods. This inner gallery, called the "Bakan", is a square with axial galleries connecting each gopura with the central shrine, and subsidiary shrines located below the corner towers. The roofings of the galleries are decorated with the motif of the body of a snake ending in the heads of lions or garudas. Carved lintels and pediments decorate the entrances to the galleries and to the shrines.
The tower above the central shrine rises to a height of above the ground; unlike those of previous temple mountains, the central tower is raised above the surrounding four. The shrine itself, originally occupied by a statue of Vishnu and open on each side, was walled in when the temple was converted to Theravada Buddhism, the new walls featuring standing Buddhas. In 1934, the conservator George Trouvé excavated the pit beneath the central shrine: filled with sand and water it had already been robbed of its treasure, but he did find a sacred foundation deposit of gold leaf two metres above ground level.