"The Cosby Show" actress Phylicia Rashad celebrated the news that her longtime co-star and TV husband Bill Cosby was being released from prison.

Rashad tweeted out that a "miscarriage of justice" had been corrected after the shocking news that Cosby's sex assault conviction was overturned by the highest court in Pennsylvania on Wednesday.

There was instant backlash for Rashad, who played Clair Huxtable, wife of Cosby's character Cliff Huxtable on "The Cosby Show" from 1984 to 1992.

"The Cosby Show" actress Phylicia Rashad <a href="https://www.foxnews.com/entertainment/bill-cosby-tv-wife-phylicia-rashad">celebrated the news</a> that her longtime co-star and TV husband Bill Cosby was being released from prison.

Rashad tweeted out that a "miscarriage of justice" had been corrected after the shocking news that Cosby's sex assault conviction was overturned by the highest court in Pennsylvania on Wednesday.

There was instant backlash for Rashad, who played Clair Huxtable, wife of Cosby's character Cliff Huxtable on "The Cosby Show" from 1984 to 1992.

Years ago, Rashad <a href="https://www.foxnews.com/entertainment/bill-cosby-tv-wife-phylicia-rashad">defended Cosby in a 2015 sit-down with ABC News.</a> During that interview, she clarified previous statements where she was quoted as saying "forget those women."
<blockquote>That was a misquote, that is not what I said. What I said is this is not about the women. This is about something else. This is about the obliteration of legacy.</blockquote>
Rashad was criticized as recently as earlier this year for defending her former on-screen husband, maintaining her belief that the allegations against Cosby were false and the women only had an interest in tarnishing his legacy.\

Rashad has enabled a feature on her tweet that doesn't allow replies.

LOOK: The most famous actress born the same year as you

Many of the actresses in this story not only made a name for themselves through their collection of iconic performances, but also through the selfless, philanthropic nature with which many of them approached their stardom. In an age of flipping the script on societal norms, many of these actresses are using their voices and platforms to be advocates for those who are otherwise unheard.

Years ago, Rashad defended Cosby in a 2015 sit-down with ABC News. During that interview, she clarified previous statements where she was quoted as saying "forget those women."

That was a misquote, that is not what I said. What I said is this is not about the women. This is about something else. This is about the obliteration of legacy.

Rashad was criticized as recently as earlier this year for defending her former on-screen husband, maintaining her belief that the allegations against Cosby were false and the women only had an interest in tarnishing his legacy.\

Rashad has enabled a feature on her tweet that doesn't allow replies.

LOOK: The most famous actress born the same year as you

Many of the actresses in this story not only made a name for themselves through their collection of iconic performances, but also through the selfless, philanthropic nature with which many of them approached their stardom. In an age of flipping the script on societal norms, many of these actresses are using their voices and platforms to be advocates for those who are otherwise unheard.