Where did ostracism come from

The practice of ostracism originated in ancient Athens, Greece. It was a political process in which citizens could vote to banish a prominent individual from the city for a period of ten years. The purpose of ostracism was to prevent the rise of a tyrant or dictator by allowing the citizens to remove any individual who was seen as a threat to the stability of the city-state.