Anthony Scaramucci says he has been blocked by Twitter for comparing President Trump's weight to that of President William Howard Taft after Trump mocked a man at a New Hampshire rally for having a "serious weight problem."

Scaramucci, Trump's former White House communications director, shared a screenshot of the notification that Twitter sent him at 8:55 a.m. Friday with the web site Axios.

"We have determined that you have violated the Twitter Rules so you'll need to wait some time before using Twitter again," the notice read.

In his last tweet before his account was locked, Scaramucci alluded to Trump's insult of a man at the president's Manchester, N.H., rally Thursday: "Said the fattest President since William Howard Taft," Scaramucci tweeted.

Twitter confirmed the lock-out in an email to the New York Post.

At the rally, Trump singled out the man, whom he apparently believed to be a protester, saying, "That guy's got a serious weight problem. Go home, start exercising."

According to Fox News, the man was actually Trump supporter Frank Dawson, who was ripping up protesters' signs.

Dawson laughed off the insult, saying he knew Trump was talking about him, but he's still loves his president.

"Everything's good, I love the guy, he's the best thing that ever happened to this country," Dawson told Fox's Griff Jenkins.

ALSO: Trump reportedly wants to buy Greenland, and everyone has jokes

President William Howard Taft was 6 feet tall and weighed about 350 pounds at the end of his presidency. Legend has it that he once got stuck in his own bathtub.

Trump, who is 6-foot-2 or 3, weighs 236 pounds, according to the results of his latest physical.

---

Mike Moffitt is an SFGATE Digital Reporter. Email: moffitt@sfgate.com. Twitter: @Mike_at_SFGate.