Why was ostracism practiced in ancient Athens?

to allow officials to decide on laws
to allow immigrants to become citizens
to force people to participate on a jury
to remove people who were too powerful