During a stop in Ethiopia on his African trip, President Barack Obama gave a speech that included a few jabs at Republican presidential candidate Mike Huckabee for his comments likening the nuclear deal with Iran to the Holocaust.

"The particular comments of Mr. Huckabee are, I think, part of just a general pattern that we've seen would be considered ridiculous if it weren't so sad," Obama told the large crowd in Ethiopia, according to Mediaite.

"I mean, we've had a sitting senator call [Secretary of State] John Kerry 'Pontius Pilate.' We had a sitting senator who also happens to be running for president suggesting that I'm the leading state sponsor of terrorism. These are leaders in the Republican party," Obama said.

Obama's speech was in direct response to Huckabee's comments to conservative news outlet Breitbart. In those comments Huckabee likened Obama's nuclear deal with Iran to an eventual Holocaust for Israel.

"This president's foreign policy is the most feckless in American history. It is so naive that he would trust the Iranians. By doing so, he will take the Israelis and march them to the door of the oven," Huckabee told Breitbart.

The "door to the oven" was a reference to the Nazi genocide carried out on Jewish populations in certain European towns during World War II.

"This is the most idiotic thing, this Iran deal. It should be rejected by both Democrats and Republicans in Congress and by the American people. I read the whole deal. We gave away the whole store. It's got to be stopped," Huckabee said.

See video below for Obama's response in the speech.