The Florida Supreme Court overturned death sentences and ordered life in prison for two inmates, ruling in one case that a convicted murderer who was not the triggerman should not have received a harsher sentence than his co-defendants.

In the other case, the court’s majority ruled that Terrance Tyrone Phillips should not have been sentenced to death for killing two men during a brawl because of Phillips’ age—18—and below-average intelligence.