Gregg v. Georgia
In these cases, the Court ruled that the states could use capital punishment (the death penalty), but only if they followed certain rules.  If the states did not follow these rules when they sentenced people to death, they would be violating the Constitution of the United States by giving out a cruel and unusual punishment.