Shaivism was the religion of Chenla (ca. 550 - ca. 800 AD), including elements of Hinduism, Buddhism and indigenous ancestor cults. In the Sambor Prei Kuk temples, it is possible to contemplate stone inscriptions in both Sanskrit and Khmer, naming both Hindu and local ancestral deities with Shiva and several altars with the lingam.