In what way was Sumer both a monarchy and theocracy?

In what way was Sumer both a monarchy and theocracy?