A divided U.S. Supreme Court on Thursday reinstated the death penalty against an Arizona man convicted of gruesome murders committed 32 years ago, reversing a lower court ruling that he had received ineffective assistance of counsel and must be resentenced.

Justice Samuel Alito Jr. wrote for the court’s 6-3 majority in Thornell v. Jones, which involved a federal habeas petition from Danny Lee Jones, who is facing execution for the 1992 murders of his friend Robert Weaver and his 7-year-old daughter Tisha.