Cambodia was first influenced by Hinduism during the beginning of the Kingdom of Funan. Hinduism was one of the Khmer Empire's official religions. Cambodia is the home of the holy temple of Angkor Wat, the largest Hindu temple in the world. The main religion adhered to in Khmer kingdom 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 Preah Pisnulok (Vara Vishnuloka in Sanskrit) or the realm of Vishnu, to honour the posthumous King Suryavarman II as Vishnu. Hindu ceremonies and rituals performed by Brahmins (Hindu priests), usually only held among the ruling elites of the king's family, nobles, and the ruling class .