Development of independent city-states