Many of the temples at Angkor, all of which gave expression to Indian cosmological and mythical themes, were built in order to provide a
locus through which kings and other members of the royal family could be assured of immortality by becoming identified with Shiva or one of the other preeminent gods of the realm.