The kings' official names were reflections of those religions: Hinduism and Buddhism. They were considered as the incarnation of various Hindu gods: Indra, Shiva, or Vishnu (Rama). The coronation ceremony was directed by brahmins as the Hindu god Shiva was lord of the universe. However, according to the codes, the king had the ultimate duty as protector of the people and the annihilator of evil.