A prisoner was beaten, kicked and urinated on.