Farmer v. Brennan, 511 U.S. 825 (1994), was a case in which the Supreme Court of the United States ruled that a prison official's "deliberate indifference" to a substantial risk of serious harm to an inmate violates the cruel and unusual punishment clause of the Eighth Amendment. Farmer built on two previous Supreme Court decisions addressing prison conditions, Estelle v. Gamble and Wilson v. Seiter. The decision marked the first time the Supreme Court directly addressed sexual assault in prisons.