Now playing
05:08
Inmate on death row because he's black?
WASHINGTON - FEBRUARY 05:  The U.S. Supreme Court is shown February 5, 2009 in Washington, DC. It was announced today that Supreme Court Justice Ruth Bader Ginsburg had surgery after being diagnosed with pancreatic cancer. (Photo by Win McNamee/Getty Images)
Win McNamee/Getty Images
WASHINGTON - FEBRUARY 05: The U.S. Supreme Court is shown February 5, 2009 in Washington, DC. It was announced today that Supreme Court Justice Ruth Bader Ginsburg had surgery after being diagnosed with pancreatic cancer. (Photo by Win McNamee/Getty Images)
Now playing
01:32
SCOTUS: States can force tax on online shoppers
Jack Phillips Today Show
NBC
Jack Phillips Today Show
Now playing
02:18
Colorado baker: I couldn't create this cake
A wedding cake with statuettes of two men is seen during the demonstration in West Hollywood, California, May 15, 2008, after the decision by the California Supreme Court to effectively greenlight same-sex marriage. AFP PHOTO / GABRIEL BOUYS (Photo credit should read GABRIEL BOUYS/AFP/Getty Images)
GABRIEL BOUYS/AFP/AFP/Getty Images
A wedding cake with statuettes of two men is seen during the demonstration in West Hollywood, California, May 15, 2008, after the decision by the California Supreme Court to effectively greenlight same-sex marriage. AFP PHOTO / GABRIEL BOUYS (Photo credit should read GABRIEL BOUYS/AFP/Getty Images)
Now playing
02:04
SCOTUS rules for baker in same-sex cake case
People wait in line to enter the U.S. Supreme Court, on April 23, 2018 in Washington, DC.
Mark Wilson/Getty Images
People wait in line to enter the U.S. Supreme Court, on April 23, 2018 in Washington, DC.
Now playing
01:44
SCOTUS wipes away lower court ruling
how the supreme court picks cases_00000000.jpg
how the supreme court picks cases_00000000.jpg
Now playing
01:39
How the Supreme Court picks its cases
Now playing
01:31
Supreme Court allows parts of travel ban
WASHINGTON - JUNE 25: The exterior view of the U.S. Supreme Court is seen June 25, 2007 in Washington, DC. The Supreme Court has ruled to give more freedom for interest groups and unions to run TV ads before elections, and also ruled to limit taxpayers' rights to challenge government initiatives as unconstitutionally promoting religion. (Photo by Alex Wong/Getty Images)
File/Alex Wong/Getty Images
WASHINGTON - JUNE 25: The exterior view of the U.S. Supreme Court is seen June 25, 2007 in Washington, DC. The Supreme Court has ruled to give more freedom for interest groups and unions to run TV ads before elections, and also ruled to limit taxpayers' rights to challenge government initiatives as unconstitutionally promoting religion. (Photo by Alex Wong/Getty Images)
Now playing
01:05
Supreme Court throws out NC redistricting maps
Pro-choice activist, Alissa Manzoeillo, of Washington, D.C. waits for rulings in front of the U.S. Supreme Court  on June 27, 2016 in Washington, DC. A ruling is expected in Whole Woman's Health v. Hellerstedt, a Texas case the places restrictions on abortion clinics, as well as rulings in the former Virginia Governor's corruption case and a gun rights case.
Pete Marovich/Getty Images
Pro-choice activist, Alissa Manzoeillo, of Washington, D.C. waits for rulings in front of the U.S. Supreme Court on June 27, 2016 in Washington, DC. A ruling is expected in Whole Woman's Health v. Hellerstedt, a Texas case the places restrictions on abortion clinics, as well as rulings in the former Virginia Governor's corruption case and a gun rights case.
Now playing
01:25
Supreme Court rules on Texas abortion law
Obama Supreme Court immigration ruling_00000000.jpg
Obama Supreme Court immigration ruling_00000000.jpg
Now playing
01:16
Obama responds to immigration ruling
The U.S. Supreme Court is shown as the court meets to issue decisions May 23, 2016 in Washington, D.C.
Win McNamee/Getty Images
The U.S. Supreme Court is shown as the court meets to issue decisions May 23, 2016 in Washington, D.C.
Now playing
01:11
Supreme Court upholds affirmative action at university
WASHINGTON, DC - JUNE 25: A gay marriage waves a flag in front of the Supreme Court Building June 25, 2015 in Washington, DC. The high court is expected rule in the next few days on whether states can prohibit same sex marriage, as 13 states currently do. (Photo by Mark Wilson/Getty Images)
Mark Wilson/Getty Images
WASHINGTON, DC - JUNE 25: A gay marriage waves a flag in front of the Supreme Court Building June 25, 2015 in Washington, DC. The high court is expected rule in the next few days on whether states can prohibit same sex marriage, as 13 states currently do. (Photo by Mark Wilson/Getty Images)
Now playing
01:36
GOP hopefuls denounce marriage ruling
The Justices of the US Supreme Court sit for their official photograph on October 8, 2010 at the Supreme Court in Washington, DC. Front row (L-R): Associate Justice Clarence Thomas, Associate Justice Antonin Scalia, Chief Justice John G. Roberts, Associate Justice Anthony M. Kennedy and Associate Justice Ruth Bader Ginsburg. Back Row (L-R): Associate Justice Sonia Sotomayor, Associate Justice Stephen Breyer, Associate Justice Samuel Alito Jr. and Associate Justice Elena Kagan. AFP PHOTO / TIM SLOAN (Photo credit should read TIM SLOAN/AFP/Getty Images)
TIM SLOAN/AFP/Getty Images
The Justices of the US Supreme Court sit for their official photograph on October 8, 2010 at the Supreme Court in Washington, DC. Front row (L-R): Associate Justice Clarence Thomas, Associate Justice Antonin Scalia, Chief Justice John G. Roberts, Associate Justice Anthony M. Kennedy and Associate Justice Ruth Bader Ginsburg. Back Row (L-R): Associate Justice Sonia Sotomayor, Associate Justice Stephen Breyer, Associate Justice Samuel Alito Jr. and Associate Justice Elena Kagan. AFP PHOTO / TIM SLOAN (Photo credit should read TIM SLOAN/AFP/Getty Images)
Now playing
01:21
Supreme Court rules on EPA emissions limits
The U.S. Supreme Court is shown March 29, 2016 in Washington, DC following the first 4-4 tie in a case before the court.
Win McNamee/Getty Images
The U.S. Supreme Court is shown March 29, 2016 in Washington, DC following the first 4-4 tie in a case before the court.
Now playing
01:09
Supreme Court rules 7-1 in favor of death row inmate
A general view of the US Supreme Court in Washington, DC, June 18, 2015. AFP PHOTO/JIM WATSON (Photo credit should read JIM WATSON/AFP/Getty Images)Supreme Court building exterior
JIM WATSON/AFP/Getty Images
A general view of the US Supreme Court in Washington, DC, June 18, 2015. AFP PHOTO/JIM WATSON (Photo credit should read JIM WATSON/AFP/Getty Images)Supreme Court building exterior
Now playing
01:37
Supreme Court rules in favor of lethal injection drug
WASHINGTON, DC - MARCH 26: The exterior of the U.S. Supreme Court on March 26, 2012 in Washington, DC. Today the high court, which has set aside six hours over three days, will hear arguments over the constitutionality President Barack Obama's Patient Protection and Affordable Care Act. (Photo by Mark Wilson/Getty Images)
Getty Images
WASHINGTON, DC - MARCH 26: The exterior of the U.S. Supreme Court on March 26, 2012 in Washington, DC. Today the high court, which has set aside six hours over three days, will hear arguments over the constitutionality President Barack Obama's Patient Protection and Affordable Care Act. (Photo by Mark Wilson/Getty Images)
Now playing
01:14
Supreme Court rules on congressional districting

Story highlights

It was a 6-2 ruling

The case comes at a time of racial unrest in the criminal justice system

(CNN) —  

The Supreme Court ruled Wednesday in favor of a death row inmate in Texas whose own lawyers introduced evidence at trial that he was more likely to be dangerous in the future because he is black.

The court ruled that the inmate, Duane Buck, will now be able to go back into a lower court and argue that he should have a new sentencing hearing.

In a 6-2 ruling, Chief Justice John Roberts wrote the majority opinion holding that Buck has “demonstrated both ineffective assistance of counsel” and has an “entitlement to relief.”

Justices Clarence Thomas and Samuel Alito dissented.

“But our holding on prejudice makes clear that Buck may have been sentenced to death in part because of his race. As an initial matter, this is a disturbing departure from a basic premise of our criminal justice system: Our law punishes people for what they do, not who they are,” Roberts wrote.

At another point the Chief wrote: “When a jury hears expert testimony that expressly makes a defendant’s race directly pertinent on the question of life or death, the impact of that evidence cannot be measured simply by how much air time it received at trial or how many pages it occupies in the record. Some toxins can be deadly in small doses.”

Roberts sent the case back down to the lower court for further proceedings.

The case comes at a time of racial unrest in the criminal justice system.

It also comes as two justices, Stephen Breyer and Ruth Bader Ginsburg, have argued the court should take another look at the constitutionality of the death penalty. They questioned, in part, whether the penalty was being applied arbitrarily throughout the country.

At oral arguments, several justices had expressed concern about the testimony introduced in the case.

“What occurred at the penalty phase of this trial is indefensible,” said Justice Samuel Alito, who called the testimony “bizarre.”

“What competent counsel would put that evidence before a jury?” Justice Ruth Bader Ginsburg asked.

Justice Stephen Breyer questioned whether there was “some good reason” Buck shouldn’t be able to reopen his case.

Buck has been on death row for the 1995 murders of Debra Gardner and Kenneth Butler. He did not argue his innocence, but asked for a new sentencing hearing because his own trial counsel was ineffective.

His lawyers argued that “no constitutional rule is more important than the dictate that race must play no role in a criminal sentence, much less a capital sentence.”

The legal issue before the court was whether Buck’s case meets the “extraordinary circumstances” test justifying the reopening of his sentencing.

At the heart of the matter was the testimony provided by Dr. Walter Quijano, one of two psychologists retained by the defense. Quijano testified that the fact that Buck was black “increased the probability” that he would commit future acts of criminal violence. In Texas, so-called “future dangerousness” must be established before a death sentence is rendered.

“Put another way,” Buck’s current lawyers argued in court papers, “Mr. Buck’s lawyers presented evidence that Mr. Buck was more deserving of a death sentence under Texas law because of his race.”

They said such prejudicial evidence is the “epitome of ineffective assistance of counsel.”

The state itself eventually conceded error in six other cases where Quijano’s testimony had been elicited, they pointed out.

Texas Solicitor General Scott Keller drew a distinction in court between Buck’s case and the others because it was the defense itself who called Quijano and elicited race-related testimony on direct examination.

In the opinion, Roberts emphasized the unusual circumstances of Buck’s case suggesting that it might not impact other death row inmates.

In court, Keller addressed the circumstances surrounding Buck’s crime, including the fact that he murdered his ex-girlfriend, Gardner, in front of her children.

Keller pointed to the fact that he also shot his stepsister at point-blank range and shot another man through the heart.

But he was cut off, as the justices circled back to the race-based testimony.

Keller also argued that Quijano’s testimony played a limited role at trial, and that other evidence of his future dangerousness came from the brutality of the murders, Buck’s lack of remorse after he was apprehended as well as the testimony of another ex-girlfriend.

A group called the National Black Law Students Association, however, filed a brief in support of Buck emphasizing how the group believes the case impacts race relations today.

“When an expert witness told the jury that Mr. Buck was dangerous because he is black, he dredged up into the open for all members of the jury to see the monstrous specter that is never far from the surface: the violent black brute, the single most fearful, dehumanizing and cruel stereotype black people have had to endure,” wrote the group’s lawyer, Deborah N. Archer.

This story has been updated.