Turkish President Recep Tayyip Erdogan has said that isolating Qatar would not resolve problems, noting that Ankara would do everything in its power to help end the crisis.

Saudi Arabia and its regional allies, including the UAE, cut ties with Qatar on Monday, accusing it of supporting militant groups.

“Isolating Qatar will not resolve any problem,” Erdogan said on Tuesday evening at an iftar dinner party. “We are and we will do everything we can to resolve this crisis.”

Erdogan said he had talked to French President Emmanuel Macron, Lebanese Prime Minister Saad al-Hariri, and Jordan’s King Abdullah in order to resolve the rift.

“I hope sanctions will be lifted soon,” he remarked.

It came two weeks after U.S. President Donald Trump visited the Middle East and met with Saudi and Israeli top officials.

Trump himself admitted that he played a major role in isolating Qatar.

A day after Saudi Arabia cut ties with Qatar, Trump tweeted: “So good to see the Saudi Arabia visit with the King and 50 countries already paying off. They said they would take a hard line on funding extremism, and all reference was pointing to Qatar. Perhaps this will be the beginning of the end to the horror of terrorism!”