“Parks and Recreation” creator Mike Schur has denounced Louis C.K. following accusations of sexual misconduct levied against the comic.

Schur went as far as to apologize for casting the famed comedian in a recurring role on his NBC sitcom.

“I don’t remember when I heard the rumors about him. But I’m sure it was before the last time he was on ‘Parks and Rec.’ And that sucks. And I’m sorry,” Schur tweeted on Thursday. C.K. appeared in six episodes of the show as Dave Sanderson, a Pawnee police officer and a love interest of Amy Poehler’s Leslie Knope.

I don't remember when I heard the rumors about him. But I'm sure it was before the last time he was on Parks and Rec. And that sucks. And I'm sorry. — Ken Tremendous (@KenTremendous) November 9, 2017

In an explosive New York Times expose, three women accused C.K. of masturbating in front of them without their consent, one alleged that he asked to masturbate in front of her, and one said he masturbated during a phone call.

“Misogyny is a cancer. Harassment and abuse are that cancer metastasizing and going untreated,” Schur also tweeted when sharing the Times story. “Stories like this being reported and printed are the first steps toward a cure.”

The comedian has yet to respond to the allegations or comment on the New York Times story. The premiere of his new film “I Love You, Daddy,” about a TV writer-producer whose daughter falls for a much older man, was canceled and the film’s distributor is reevaluating the comedy’s release.