How was the Mayan form of government similar to the governments in ancient Mesopotamia?

The leader was a king.
The leader was a pharaoh.
It was a theocracy.
It was a democracy.