U.S. Representative Randy Weber, a Republican from Texas, apologized on Tuesday for a tweet he posted comparing President Barack Obama's decision not to attend a rally in Paris to Adolf Hitler's visit to the city after the Nazis invaded.

Weber, known for his anti-Obama rhetoric, tweeted on Monday: "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."

Critics came out in force on Tuesday and said comparing a presidential visit to the Nazis' deadly advance through Europe in World War II was in poor taste. They slammed Weber for his lack of historical perspective and for misspelling the name of the former German leader.