President Donald Trump invited Democratic Party leaders to the White House on Wednesday and proceeded to have what those leaders described as a “meltdown” in front of them. Before the lawmakers left early, Trump managed to rail against communists, his own former Secretary of Defense James Mattis, and House Speaker Nancy Pelosi, whom he called “a third-rate politician,” according to the Democratic leaders and sources’ descriptions of the meeting.

Shortly after the brief, cross-partisan meeting with the president in the Cabinet Room—which was convened to discuss Syria- and Turkey-related matters—Pelosi, Senate Minority Leader Chuck Schumer (D-NY), and House Majority Leader Steny Hoyer (D-MD) emerged to give a readout to reporters on what was, in Schumer’s words, Trump’s “nasty diatribe.”

“What we witnessed on the part of the president was a meltdown—sad to say,” Pelosi told reporters. “I think that vote, the size of the vote—more than two-to-one of the Republicans voted to oppose what the president did [on troops in Syria]—it probably got to the president, because he was shaken up by it [and] that’s why we couldn’t continue in the meeting because he was just not relating to the reality of it.”

Schumer asserted that Pelosi “kept her cool completely” even while Trump sniped that “there are communists involved [in Syria] and you guys might like that.”

The president even took a shot at his former defense secretary—who quit late last year over policy disagreements—when the conversation on Wednesday afternoon touched on foreign policy and a potential rejuvenation of ISIS fighters in Syria.

According to a Democratic source familiar with what happened in that meeting, Schumer at one point pulled out a piece of paper featuring quotes from Mattis’ interview on NBC’s Meet the Press on Sunday. The Democratic leader began reading to the president the statement that Mattis made on that Sunday show, that “if we don't keep the pressure on, then ISIS will resurge. It's absolutely a given that they will come back.”

Trump, this source said, then interrupted Schumer, and insisted that Mattis was “the world’s most overrated general.”

“You know why?” the president continued, according to the source. “He wasn’t tough enough. I captured ISIS. Mattis said it would take two years. I captured them in one month.” Trump also repeatedly claimed that of the ISIS prisoners who escaped when Turkish forces invaded northeast Syria (an invasion Trump all but greenlit), only the “least dangerous” individuals got out.

Secretary of Defense Mark Esper, asked to confirm the president’s assertion that those ISIS prisoners who escape were the “least dangerous,” told Schumer he didn’t know, according to the source.

At one point, Trump is said to have claimed that “someone wanted this meeting so I agreed to it,” despite the White House having called the meeting.

Pelosi, for her part, told Trump that Russia has long wanted a “foothold in the Middle East,” adding that because of the president’s actions, the Russian government now has it. “All roads with you lead to Putin,” the House speaker jabbed, according to one senior Democratic aide.

“I hate ISIS more than you do,” Trump shot back at Pelosi, this aide noted, with Pelosi replying, “You don't know that.”

Later in the day, Pelosi, in the escalating round of insults hurled between the West Wing and Capitol Hill, told reporters, “I think now we have to pray for [Trump’s] health. Because this was a very serious meltdown on the part of the president.”

There was even a point in this meeting, the Democratic aide said, that President Trump distributed to attendees the Oct. 9 letter he sent to Turkish president Recep Tayyip Erdogan, the one that read, “You don't want to be responsible for slaughtering thousands of people, and I don't want to be responsible for destroying the Turkish economy—and I will.” Trump’s letter also includes the lines, “Don't be a tough guy. Don't be a fool! I will call you later.”

This was taken as an attempt by the president to demonstrate to all the Republicans and Democrats in the room that he was being sufficiently tough on Erdogan, and as an effort to convince those present that he did not greenlight the Turkish invasion, which is currently causing political backlash at home, and slaughter and mayhem abroad.

The president’s aides, meanwhile, sought to place the blame for the derailed meeting on the Democratic leaders’ decision to walk out over Trump’s “nasty” words directed at Pelosi.

“Her decision to walk out was baffling, but not surprising,” White House press secretary Stephanie Grisham emailed The Daily Beast shortly after the Democrats’ comments to White House press. “Speaker Pelosi had no intention of listening or contributing to an important meeting on national security issues. While Democratic leadership chose to storm out and get in front of the cameras to whine, everyone else in the meeting chose to stay in the room and work on behalf of this country.”

Trump later tweeted a flurry of photos from the meeting that he claimed showed the Democrats had tanked the meeting, including one in which he accused Pelosi of having an “unhinged meltdown.”

This wouldn’t be the first time this year that a meeting at the White House involving Trump, Pelosi, and Schumer completely degenerated so quickly. Early this year, during a Friday meeting on the government shutdown, President Trump started the gathering by launching a 15-minute, profanity-encrusted rant that included him demanding his border wall, and, unprompted, complaining about Democratic lawmakers who want to impeach him.

At the time, Trump told attendees that he was, simply put, too popular a president to impeach.

Today, Trump and his administration are currently fighting back against an ongoing, rapidly accelerating impeachment inquiry, with Democrats on Capitol Hill hoping to hold a vote on his impeachment before the end of the year.