Chance the Rapper has issued an apology for working with R. Kelly after a clip of the rapper expressing his regret for previously dismissing Kelly’s accusers aired in the Lifetime series “Surviving R. Kelly.”

Chance, 25, did not partake in the series, but a quote from a May interview with the lifestyle platform Cassius was included.

“The quote was taken out of context, but the truth is any of us who ever ignored the R. Kelly stories, or ever believed he was being setup/attacked by the system (as black men often are) were doing so at the detriment of black women and girls,” Chance wrote on Twitter Saturday.

“I apologize to all of his survivors for working with him and for taking this long to speak out.”

Chance recruited Kelly for a feature on his 2015 song “Somewhere in Paradise,” and also appeared in Kelly’s “Backyard Party” music video.

Only a brief snippet of Chance’s May interview aired in “Surviving R. Kelly”; he can be heard saying, “I didn’t value the accusers’ stories because they were black women…I made a mistake.”

But the “Work Out” rapper shared the interview in full on Twitter, which provided context for his controversial comments.

In the interview, Chance speaks about the oppression black women face and how it was his own implicit biases that led him to dismiss the women who accused Kelly of sexual misconduct.

“We’re programmed to really be hypersensitive to black male oppression. But black woman are exponentially (a) higher oppressed and violated group of people just in comparison to the whole world,” he said.

“Surviving R. Kelly” premiered Thursday despite threats of legal action from Kelly’s lawyer Brian Nix.

The docu-series sheds light on the sexual abuse and rape allegations that have long plagued the 51-year-old “I Believe I Can Fly” singer.

Kelly has long denied all accusations, and many musicians declined the opportunity to speak out against him in the docu-series.