Comedian Dave Chappelle has come under fire from social media critics accusing him of making “transphobic” and homophobic jokes in his new comedy available on Netflix.

On Tuesday, Dave Chappelle released two new stand-up comedy specials on Netflix—“The Age of Spin: Live at the Hollywood Palladium” and “Deep in the Heart of Texas: Live at Austin City Limits”—that caused a backlash from some viewers, who claimed his jokes about the LGBTQ community were homophobic and transphobic.

In one of the two specials, Chappelle jokes about his wife’s gay friend who “always wants to have some kind of gay political argument.”

“The last one was about a petition in federal court to take the words ‘husband and wife’ out of the law,” the comedian said. “I said, ‘why would you want those words out of the law?’ He said, ‘because it discriminates against same-sex couples.’”