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.
Beng Mealea
It was built as a Hindu temple, but there are some carvings depicting buddhist motifs. Its primary material is sandstone and it is largely unrestored, with trees and thick brush thriving amidst its towers and courtyards and many of its stones lying in great heaps. For years it was difficult to reach, but a road recently built to the temple complex of Koh Ker passes Beng Mealea and more visitors are coming to the site, as it is 77 km from Siem Reap by road.
The history of the temple is unknown and it can be dated only by its architectural style, identical to Angkor Wat, so scholars assumed it was built during the reign of king Suryavarman II in the early 12th century. Smaller in size than Angkor Wat, the king's main monument, Beng Mealea nonetheless ranks among the Khmer empire's larger temples: the gallery which forms the outer enclosure of the temple is 181 m by 152 m. It was the center of a town, surrounded by a moat 1025 m by 875 m large and 45 m wide.