You didn't specify the area but in human history, two areas saw this kind of development: <u><em>Ancient Greece and Mesopotamia.</em></u>
Explanation:
These areas didn't experience a central government and the people who had established there created city-states, each one with their gods, government system, political ideas, laws, and kings. It's just in the 8th century AD that Mesopotamia began to experience a centralized state when the Assyrians controlled the area. For the Greeks, just when the Roman Empire reach there that they saw something like this.