Actor Ron Perlman attacked President Donald Trump on social media Tuesday morning, but likely wasn’t prepared to be burned by a commenter who noticed a flaw in the star’s profane joke.

The 67-year-old Hellboy actor responded on his social media account Tuesday after President Trump called Massachusetts Sen. Elizabeth Warren “Pocahontas” at an event Monday, a nickname Trump gave Warren during his campaign for the presidency in 2016.

“What’s a 10-letter phrase for racist c*nt!” Perlman tweeted, along with a video of Congressional testimony Trump delivered in 1993 about casinos on Indian reservations.

What’s a 10 letter phrase for racist cunt! https://t.co/vnh9NG5dnX — Ron Perlman (@perlmutations) November 28, 2017

Perlman didn’t specify to whom he was referring when he used the term, “racist c*nt.” “Donald Trump” is comprised of 11 letters.

Of course, some of Perlman’s social media followers couldn’t help but notice that the actor’s name is itself comprised of 10 letters.

“ronperlman,” one commenter replied to the actor.

RonPerlman- 10 letters

There ya go! — Christina O'Connor🇺🇸⭐⭐⭐ (@girls1rule) November 28, 2017

A number of other commenters made the same observation.

“Ron, using such a derogatory and hurtful word toward women is beneath you,” another user wrote, apparently disappointed in the actor’s choice of swear word.

Like other celebrities, Perlman often uses his Twitter account to weigh in on policies and national events. On Tuesday, the actor slammed the GOP’s effort to pass a tax reform bill.

“When the GOP gets behind a bill, make no mistake, that bill was written not by them but by their donors. You wanna make a bunch of rich muthaf*ckas who just want MORE get richer, get behind this crazy ass tax bill,” he wrote.

The Golden Globe-winner most recently starred in the music video for the Jay Z song “Legacy” alongside Susan Sarandon, Jesse Williams and Emile Hirsch. The video was released on Black Friday.

Follow Daniel Nussbaum on Twitter: @dznussbaum