A Republican congressman who came under fire for a tweet invoking Adolf Hitler apologized on Tuesday.

Rep. Randy Weber, R-Texas, had posted a tweet on Monday night critical of President Obama for skipping the massive anti-terrorism rally in Paris. "Even Adolph Hitler thought it more important than Obama to get to Paris. (For all the wrong reasons.) Obama couldn't do it for right reasons,” he tweeted.

The tweet juxtaposed Hitler's visit to the vanquished city after his troops invaded in World War II, and Obama's failure to join dozens of world leaders at the anti-terror march on Sunday.

But after being slammed for making the comparison, Weber released a statement on Tuesday backing down.

“I need to first apologize to all those offended by my tweet. It was not my intention to trivialize the Holocaust nor to compare the President to Adolf Hitler,” he said. “The mention of Hitler was meant to represent the face of evil that still exists in the world today. I now realize that the use of Hitler invokes pain and emotional trauma for those affected by the atrocities of the Holocaust and victims of anti-Semitism and hate.”

Rep. Steve Israel, D-N.Y., earlier had demanded Weber apologize.

"Rep. Weber's tweet is vile and stoops to a new low level by desecrating the victims of the Holocaust to make a political point," he said in a statement.

Asked Tuesday if he had any reaction to Weber's Tweet, White House spokesman Josh Earnest replied, "I don't."

The White House has acknowledged that Obama or another high-level representative of the U.S. should have joined the march in unity with the French following attacks that left 17 people dead. The absence was widely noted, and heavily criticized by congressional Republicans.

The Democrats' campaign organization was quick to denounce Weber's tweet and to connect the incident to the recent controversy over Majority Whip Steve Scalise's 2002 speech to a white supremacist group. Scalise has said he regrets the speech and didn't understand the nature of the group.

"Congressional Republicans like Weber are clearly catering to the most extreme elements -- first refusing to condemn Steve Scalise's inexcusable affiliation with KKK members, and now this," said Josh Schwerin, spokesman for the Democratic Congressional Campaign Committee. "Speaker (John) Boehner and Republican leaders need to step forward and condemn Congressman Weber and his toxic brand of politics."

Weber was one of 25 Republicans who voted against Boehner last week as insufficiently conservative to be speaker. Weber was elected to Congress in 2012, taking the seat opened by Ron Paul's retirement.

Weber has a history of inflammatory remarks, and misspellings, on Twitter.

In a tweet last year he called Obama a "Socialistic dictator" and "Kommandant-In-Chef," presumably meaning "chief."

Monday's tweet used "Adolph" instead of "Adolf" for Hitler's first name.

The Associated Press contributed to this report.