A Twitter account linked to former White House communications director Anthony Scaramucci tweeted out a poll Tuesday asking how many Jews were killed in the Holocaust.

The tweet from "The Scaramucci Post" gave people four options and asks: "How many Jews were killed in the Holocaust?"

The tweet was taken down about an hour after it was posted, and The Scaramucci Post apologized if it offended anyone.

"The intent of the poll was to highlight ignorance of the basic facts of the Holocaust. I take full responsibility for it," the account tweeted.

"This is @lancelaifer and I apologize if anyone was offended by the Holocaust poll."

This poll was put up by @lancelaifer without consulting @Scaramucci who is traveling in London.

The poll has been taken down. pic.twitter.com/SKaaPZAPow — ScaramucciPost (@ScaramucciPost) October 17, 2017

The intent of the poll was to highlight ignorance of the basic facts of the Holocaust. I take full responsibility for it. — ScaramucciPost (@ScaramucciPost) October 17, 2017

This is @lancelaifer and I apologize if anyone was offended by the Holocaust poll. — ScaramucciPost (@ScaramucciPost) October 17, 2017

Anti-Defamation League CEO Jonathan Greenblatt said the Twitter poll “was clearly insensitive and could play into the hands of Holocaust deniers. We are glad The Scaramucci Post took it down."

On social media, the initial message was widely criticized as anti-Semitic, as were other tweets from the Scaramucci Post's account related to an Anne Frank Halloween costume. The costume was pulled from a Halloween company's website after facing criticism, according to USA Today. The Scaramucci Post asked users for their "thoughts" on various tweets, including one from an opinion editor at the Forward who tweeted: "Anyone acting outraged at this Anne Frank Halloween costume is in denial. This is the world we made and now we have to live in it."

The three tweets quoted by Scaramucci Post appear below:

Anyone acting outraged at this Anne Frank Halloween costume is in denial. This is the world we made and now we have to live in it. pic.twitter.com/sIyeHNqcOs — Batya Ungar-Sargon (@bungarsargon) October 16, 2017

If you think Anne Frank costumes are offensive but are pissed that your kid can’t dress up like Pocahontas, byyyye



https://t.co/JDuQeQYqCy — Julie S. Lalonde (@JulieSLalonde) October 16, 2017

Hard to see how this offensive idea made it this far, but thankfully this costume has been removed from the market: https://t.co/pZQM6T7NmV — ADL (@ADL_National) October 16, 2017

Scaramucci later posted a statement that his social media director made the poll in order to “promote Holocaust education and awareness in the wake of an offensive Halloween costume depicting Anne Frank.”

“I am pained imagining that my post led anyone to believe I am giving comfort to Holocaust deniers. Nothing can be further from the truth. I have publicly criticized the white supremacy movement and understand that the Holocaust was one of the most abhorrent moments in world history,” Scaramucci wrote, saying he had it immediately removed after become aware of the post.

"Six million jews and millions of others lost their lives. If we are ever to move forward we must acknowledge this event, vow to learn from it, teach it to the next generations and promise to never forget,” he continued, apologizing to those offended.

Scaramucci served in his role as White House communications director for 10 days before leaving in late July.

Earlier this month, Scaramucci said The Scaramucci Post would represent the "center lane" of American politics.

"The center lane is wide open," Scaramucci said. "What The Scaramucci Post is going to represent is a center lane."

"I do think that we are living in a society where we are very polarized. We are getting our news screeched into us," he added. "From the right and from the left."

This story was updated at 3:39 p.m.

Olivia Beavers contributed.