Section 242 of Title 18 makes it a crime for a person acting under color of any law to willfully deprive a person of a right or privilege protected by the Constitution or laws of the United States. The offense is punishable by a range of imprisonment up to a life term, or the death penalty, depending upon the circumstances of the crime, and the resulting injury, if any.
https://www.justice.gov/crt/deprivation-rights-under-color-l...