violated the Eighth and 14th Amendments