A writ of habeas corpus protects people from

1.cruel and unusual punishment.
2.unfair taxation and seizure of property.
3.secret arrest and imprisonment.
4.trial by jury.

3. secret arrest and imprisonment.

A writ of habeas corpus protects people from secret arrest and imprisonment.