Greek city-states were run by their