The Supreme Court on Wednesday outlawed executions of people convicted of raping a child.

In a 5-4 vote, the court said the Louisiana law allowing the death penalty to be imposed in such cases violates the Constitution’s ban on cruel and unusual punishment.