Hittite religion had a policy, and the texts state it: when a territory was taken, its gods were brought to Hattusa and added to the cult. The result is the formula used to invoke divine witnesses to a treaty, the thousand gods of Hatti, followed by lists that run for columns and include deities of Hattian, Hurrian, Luwian and Mesopotamian origin alongside mountains, rivers and springs. At the head stood the sun goddess of Arinna and the storm god, and the king ruled as their steward.
Kingship was a priesthood in practice as well as in theory. Festival texts occupied the king for months of the year, travelling a circuit of towns to perform the required rites in order, and campaigns were arranged around them. A remarkable document of instructions to temple personnel regulates the whole staff: what they may eat, how they must wash, that they must not let the god's bread be stolen, that anyone who says the god will not notice is deceiving himself.
The plague prayers of Mursili II are the most striking texts of all. Faced with an epidemic that had run for twenty years, the king consults oracles to find its cause, learns that his father had broken a treaty oath and killed a rightful heir, and prays as a son inheriting a guilt he did not incur, admitting the fault, offering restitution and arguing with the gods that killing the population will leave nobody to feed them. It is a religion of contract, and the king is making a case.