View the yard of Angkor Wat, the temple complex was built for the king Suryavarman II in the early 12th century as his state temple and capital city. As the best-preserved temple at the site, it is the only one to have remained a significant religious centre since its foundation – first Hindu, dedicated to the god Vishnu, then Buddhist.