Ostracism was a procedure under the Athenian democracy in which a prominent citizen could be expelled from the city-state of Athens for ten years ; neutralizing someone thought to be a threat to the state, or exiling a potential tyrant.