“Sex and the City” star Mario Cantone is opening up about being canceled in the 1980’s due to his sexual identity.

Mario plays Charlotte York’s gay best friend, Anthony Marentino, on the show and spinoff series, “And Just Like That…”

While appearing on the “Allison Interviews” podcast, Mario recalled being booked on “The Tonight Show with Johnny Carson” in 1986.

“When he saw me, he said, ‘Oh my God, you’re amazing! We are going to shape six minutes for you,’” Mario explained.

However, upon reviewing the footage again, his set was canned due to “gay edge.”

Mario recalled production telling him, “Your comedy has a gay edge to it and I think it’s going to make Johnny nervous, so I’m going to cancel you.”

The 1980s was a difficult time for the LGBTQ+ community.

The 80s saw the outbreak of HIV/AIDS which was not fully understood by government, media and in turn misinformation was spread to the masses.

Despite the cancelation, Mario is proud to be a part of “gay history on TV.”