The main religion was Hinduism, followed by Buddhism in popularity. Initially, the kingdom revered Hinduism as the main state religion. Vishnu and Shiva were the most revered deities, worshipped in Khmer Hindu temples. Temples such as Angkor Wat are actually known as Phitsanulok (Vara Vishnuloka in Sanskrit) or the realm of Vishnu, to honor the posthumous King Suryavarman II as Vishnu.