The city-states of ancient times were often considered theocracies because they were governed by religious authorities or religious leaders who held significant power and influence over the state. The term "theocracy" comes from the Greek words "theos" (meaning god) and "kratos" (meaning rule or power), indicating that these societies were ruled by divine authority.
I hope this helped!
~~~Harsha~~~