Washington (CNN) Rep. Randy Weber is apologizing for a tweet that compared President Barack Obama's absence at a Paris march to Adolf Hitler.

The Texas Republican said in a statement Tuesday afternoon that he hadn't intended "to trivialize the Holocast nor to compare the President to Adolf Hitler."

"The mention of Hitler was meant to represent the face of evil that still exists in the world today," Weber said. "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."

His apology comes the day after he invoked Hitler in blasting Obama for failing to join more than 40 world leaders and at least 1.5 million people at a Paris unity march Sunday, following the attack on the country's Charlie Hebdo satirical newspaper.

misspelling the German dictator's first name. "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," Weber tweeted misspelling the German dictator's first name.

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 — Randy Weber (@TXRandy14) January 13, 2015

Read More