Why was the 8th amendment written?

To stop violence in prisons

To prevent harsh punishments

To prohibit involuntary servitude

To protect against discrimination