Angkor Wat is a Hindu, then subsequently Buddhist temple complex and the largest religious monument in the world. The temple was built by the Khmer King Suryavarman II in the early 12th century in Yasodharapura , the capital of the Khmer Empire, as his state temple and eventual mausoleum.