Inmate sentenced in staff member attack