It was first a heavily militarized city-state ruled by a diarchy, this was the most famous iteration.
Then collapsed due to internal and external problems.
When the Romans conquered Greece, they turned the decadent city into a tourist attraction based on old legends.