The Supreme Court in Washington is seen at sunset, Tuesday, Oct. 10, 2017. The Supreme Court is giving a Georgia death row inmate who came within minutes of being executed another chance to raise claims of racial bias on his jury. The justices voted 6-3 Monday to order the federal appeals court in Atlanta to take up the case of inmate Keith Leroy Tharpe. (AP Photo/J. Scott Applewhite)

The Supreme Court on Monday gave a black death row inmate in Georgia a chance to challenge his death sentence because a white juror in his case later used a racial epithet in an affidavit and questioned whether black people have souls.

The justices stayed the execution last fall of Keith Leroy Tharpe, who was sentenced to death in 1991 for the murder of his sister-in-law, Jaquelin Freeman. He shot and killed Freeman and left her body in a ditch while kidnapping and later raping his estranged wife.

Years after his conviction, Tharpe's attorneys interviewed one of the jurors in his case, Barney Gattie. Gattie told them in a signed statement "there are two types of black people: 1. Black folks and 2. N-----s."

The Freeman family was in the former category, according to Gattie's statement. But Tharpe "wasn't in the 'good' black folks category in my book, should get the electric chair for what he did," he wrote. He added that after "studying the Bible, I have wondered if black people even have souls."

Lower courts turned down Tharpe's appeals based on Gattie's statement, which he said had been taken after a long day of drinking. He signed a second affidavit saying race did not enter into his or other jurors' decision-making, and courts found the jury had not been prejudiced against Tharpe.

The Supreme Court, in an unsigned 6-to-3 opinion, said Tharpe deserved another chance in court.

"Gattie's remarkable affidavit — which he never retracted — presents a strong factual basis for the argument that Tharpe's race affected Gattie's vote for a death verdict," the court wrote.

"At the very least, jurists of reason could debate whether Tharpe has shown by clear and convincing evidence that the state court's factual determination was wrong."

The justices said the U.S. Court of Appeals for the 11th Circuit in Atlanta "erred when it concluded otherwise."

Justice Clarence Thomas, the court's only African American member, objected and was joined by Justices Samuel A. Alito Jr. and Neil M. Gorsuch.

Thomas said the court was swayed by the "odious" remarks in Gattie's statement, but should have focused on procedural problems with Tharpe's case and the lower court's determination that Tharpe's death sentence did not depend upon racist considerations by the jury.

Thomas wrote that his colleagues "must be disturbed by the racist rhetoric in that affidavit, and must want to do something about it. But the court's decision is no profile in moral courage."

Instead, he wrote, the decision "callously delays justice for Jaquelin Freeman, the black woman who was brutally murdered by Tharpe 27 years ago. Because this court should not be in the business of ceremonial hand-wringing, I respectfully dissent."