South Carolina Republican Sen. Lindsey Graham ripped into Turkish President Recep Tayyip Erdogan during a tense Oval Office meeting Wednesday over the country’s invasion of Syria and attacks on America's Kurdish allies, according to aides and the senator himself.

While in Washington, Erdogan met with President Trump and several Republican senators at the White House. Fox News is told there were “a lot of people with a lot of gripes” during the meeting. At one point, according to aides, Graham “called Erdogan out on his B.S. that Turkey has been fighting ISIS.” While all the senators expressed their issues with Erdogan, Graham was said to be “on the more aggressive side.”

According to sources, Graham told Erdogan, “You have done something no one thought was possible. You have united the US … against [Turkey].”

Having senators in an Oval Office meeting between the president and a foreign leader is highly unusual.

Congressional aides said that the White House wanted Erdogan to hear directly from the senators about their concerns. It was described as a “good cop, bad cop” scenario, where Trump played the part of the “neutral” cop, while senators got into it with Erdogan. One aide said that “Graham was the worst cop of all.”

The details of the Oval Office meeting were first reported by Axios. Fox News has confirmed Erdogan pulled out his iPad to show the senators a propaganda video depicting the Kurds as terrorists.

TRUMP VOWS NEW UKRAINE TRANSCRIPT RELEASE IN POST-IMPEACHMENT HEARING PRESS CONFERENCE

On Thursday, Graham confirmed the video incident and said he asked Erdogan, "Do you want me to get the Kurds to play a video about what your forces have done?"

He said he was especially infuriated by Erdogan's claim to have done the heavy lifting in the battle against ISIS, considering all the casualties sustained by Kurdish forces.

Turkey has come under fire on Capitol Hill for its incursion into Syria last month to attack the Kurdish forces that fought with the U.S. against the Islamic State.

Turkey, meanwhile, is angered at the U.S. for supporting the Kurdish forces it views as a threat and for refusing to extradite a Muslim cleric it accuses of fomenting a 2016 coup attempt against Erdogan.

CLICK HERE TO GET THE FOX NEWS APP

Erdogan used the meeting as a chance to defend his military offensive against U.S.-backed Kurdish forces in northeastern Syria, some of whom have links to the separatists who have waged a violent campaign in Turkey for decades.

His words failed to placate members of Congress and others who accuse Turkish-backed forces of killing Kurdish civilians and causing a humanitarian crisis in the incursion, which prompted the U.S. last month to hurriedly evacuate a small number of American troops from near the Syria-Turkey border.

“While our alliance with Turkey is important to maintaining U.S. national security interests, Turkey's assault against our Kurdish allies, who have a long history of standing with America against our enemies, is absolutely unacceptable,” said Texas Sen. Ted Cruz, another senator in attendance, in a statement after the meeting.

Erdogan later joined Trump for a press conference at the White House.

Trump and Erdogan concluded the visit without achieving an agreement on Turkey’s decision earlier this year to accept delivery of a Russian air defense system that poses such a threat to NATO security that the U.S. suspended Turkish participation in the multinational F-35 fighter jet program.

The Turkish president told reporters he might be persuaded to use the U.S.-made Patriot system “as well” as the Russian S-400. Trump said they would agree to keep working on the issue.

The Associated Press contributed to this report.