Ancient Greece had city-states and small kingdoms, and it is estimated that even up to a thousand of such kingdoms and city-states existed. Thae most well-known city states were Athens and Sparta.
Sometimes the states formed unions such as the Achaean League.