Gregg v. Georgia
The Gregg case happened because of another Supreme Court case called Furman v. Georgia, which the Court decided In 1972.  In this case, three different men who had been sentenced to death argued that Georgia was giving them a cruel and unusual punishment.  This is against the Eighth Amendment to the Constitution, which makes cruel and unusual punishments illegal.