Penal Code § 147
CHAPTER 7. Other Offenses Against Public Justice
Every officer who is guilty of willful inhumanity or oppression toward any prisoner under his care or in his custody, is punishable by fine not exceeding four thousand dollars ($4,000), and by removal from office.