U.S. Secretary of State Mike Pompeo, gives a speech at the American University in Cairo, Egypt, Jan. 10, 2019.
U.S. Secretary of State Mike Pompeo, gives a speech at the American University in Cairo, Egypt, Jan. 10, 2019.

U.S. Secretary of State Mike Pompeo issued a sharp rebuke of former President Barack Obama's policies in the Middle East as he outlined the Trump administration's vision for the region.

"America is a force for good in the Middle East," Pompeo said Thursday in a speech at the American University in Cairo.

Speaking at the same spot 10 years ago, Obama had appealed to majority-Muslim countries for a new beginning and said that America had made mistakes in its fight against terrorism since the Sept. 11, 2001, attacks.

Pompeo, without directly mentioning the former president's name, called the previous administration's policies in the region "misguided."

Obama Addresses World's Muslims
(Watch President's speech) Read Text of President's speech U.S. President Barack Obama says it is time for a new beginning in relations between America and the world's Muslims. The president said they should unite to confront violent extremism and promote the cause of peace.Fresh startPresident Obama says, after decades of frustration and distrust, it is time for candor ... for dialogue ...

"The good news is this: The age of self-inflicted American shame is over, and so are the policies that produced so much needless suffering. Now comes the real 'new beginning,'" Pompeo said.

He told the Cairo audience that in less than two years, the U.S. under President Donald Trump has reasserted its traditional role for good in the region.

"We've learned from our mistakes," Pompeo.

Pompeo said the U.S. has "confronted the ugly reality of radical Islamism."

Centrifuge Iran Iran Nuclear
Obama: Iran Nuclear Deal Top Ten Achievement of 2015
Deal calls for US, Europe to lift sanctions against Iran in exchange for drop in Tehran's nuclear facilities; outcome so far is new role, less isolation for Iran

Turning to Iran and the 2015 nuclear agreement from which Trump withdrew, Pompeo said, "President Trump has reversed our willful blindness to the danger of the regime and withdrew from the failed nuclear deal, with its false promises."

Pompeo thanked U.S. allies in the region and across the world for their work to constrain what he termed the Iranian "regime's malign activity."

Addressing criticism and confusion among a number of U.S. allies, Pompeo acknowledged that Trump has decided to withdraw U.S. troops from Syria.

"This isn't a change of mission. We remain committed to the complete dismantling of the ISIS [Islamic State] threat and the ongoing fight against radical Islamism in all of its forms." But, he said, the U.S. is "looking to its partners to do more in this effort moving forward."

Trump's abrupt announcement last month that he will pull all 2,000 U.S. troops from Syria has caused alarm among U.S. allies in the region.

Before traveling to Egypt, Pompeo made unannounced visits Wednesday to Irbil and Baghdad in Iraq.

Secretary of State Mike Pompeo, center left, meets with Nechirvan Barzani, outgoing Prime Minister of Iraq's autonomous Kurdistan Regional Government (KRG), in the province's capital Erbil, Iraq, during a Middle East tour, Wednesday, Jan. 9, 2019.
Pompeo Meets Top Iraqi Officials During Unannounced Visit to Baghdad
U.S. Secretary of State Mike Pompeo met with top Iraqi officials Wednesday during an unannounced visit to Baghdad. Pompeo's visit coincided with the anniversary of the Iraqi national police force. A police band serenaded Prime Minister Adel Abdul Mahdi, who presided over the celebration before meeting Pompeo in private.A spokesman for the secretary said the two men discussed "the U.S.

"A common understanding that the battle against Daesh, to counter Daesh, and the fight to counter Iran is real and important," Pompeo told journalists before leaving Irbil, referring to Islamic State militants.

Pompeo met with top officials from the Iraqi Kurdistan Regional Government after his meeting with senior leaders of the Iraqi government.

Pompeo's visit to Iraq followed U.S. National Security Adviser John Bolton's visit to Turkey, where President Recep Tayyip Erdogan refused to meet with Bolton.


WATCH: Pompeo Repudiates Obama's Middle East Vision

Erdogan dismissed Bolton's calls for the protection of the Syrian Kurdish People's Protection Units (YPG) as a precondition to a U.S. troop withdrawal from Syria.

The YPG is a crucial ally in Washington's war against Islamic State militants, but Ankara considers it a terrorist group linked to an insurgency inside Turkey.

Nike Ching contributed to this report.