In many historical societies, the position of kingship carries a sacral meaning, that is, it is identical with that of a high priest and of judge. The concept of theocracy is related, although a sacred king need not necessarily rule through his religious authority; rather, the temporal position has a religious significance.
The concept was identified, or invented, by Sir James George Frazer in The Golden Bough (1890–1915) whose title refers to the myth of the Rex Nemorensis. Frazer gives numerous examples, cited below, and is regarded as an exponent of the myth and ritual school. However, "the myth and ritual, or myth-ritualist, theory" is disputed; many scholars now believe that myth and ritual share common paradigms, but not that one developed from the other.
According to Frazer, the notion has prehistoric roots and is found worldwide, on Java as in sub-Saharan Africa, with shaman-kings credited with rainmaking and assuring fertility and good fortune. The king might also be designated to suffer and atone for his people, meaning that the sacral king could be the pre-ordained victim of a human sacrifice, either killed at the end of his term in the position, or sacrificed in times of crisis (e.g. the Blót of Domalde).
Among the Ashanti, a new king (Ashantehene) was flogged before being enthroned.