A meeting with President Donald Trump and House Speaker Nancy Pelosi went off the rails after Pelosi accused Trump of helping Russia and President Vladimir Putin, according to reports.

The meeting was about Trump's sudden withdrawal of US troops from Syria, which has given Russia a back door to the region as the Kurds — US allies — face an assault by Turkey.

Sources told The Associated Press and The New York Times that Pelosi told Trump of the risks from Russia and said that "all roads with you lead to Putin."

Trump and Pelosi have accused each other of having a "meltdown" in the meeting.

Visit Business Insider's homepage for more stories.

President Donald Trump's meeting on Wednesday about efforts to solve the new crisis in Syria reportedly went off the rails after House Speaker Nancy Pelosi called out him out for helping Russian President Vladimir Putin in the region by abruptly withdrawing US troops.

The meeting with Democrats and White House officials led to Pelosi walking out and both Trump and Pelosi accusing each other of having a "meltdown."

Citing Democratic sources, The Associated Press and The New York Times reported that the already tense meeting imploded after Pelosi said that Russia had always wanted a "foothold in the Middle East" and that Trump's unexpected withdrawal had given Russia what it wanted.

Read more: Pelosi said Trump had a 'meltdown' after the House overwhelmingly voted to condemn his Syria retreat

"All roads with you lead to Putin," Pelosi said, according to both outlets.

The AP reported that this was the moment the meeting fell apart.

"I hate ISIS more than you do," Trump told Pelosi.

"You don't know that," Pelosi responded.

At one point, per The Times, Trump told Pelosi, "You're just a politician." She hit back, saying, "Sometimes I wish you were."

Trump's sudden withdrawal of US troops from Syria has been widely criticized as abandoning the Kurds — US allies in the fight against the terrorist group ISIS — and leaving them open to a military assault by Turkey.

The Kurds have turned to Russia for help, thus giving it a stronghold in the region — something Kurdish leaders have warned of in recent days.

Read more: Turkey's president pulled one over on Trump — and some of the US's most dangerous adversaries are the big winners

The chaotic nature of the meeting was evident from the conflicting accounts given by the two parties after Pelosi left the room. The AP reported that Trump said, "Goodbye, we'll see you at the polls."

Senate Minority Leader Chuck Schumer said Trump "insulted" Pelosi during the meeting, calling her a "third-rate politician." Pelosi said Trump said "third-grade."

Schumer said the meeting was "not a dialogue" but "sort of a diatribe, a nasty diatribe."

Pelosi said Trump was "shaken up" by the House voting overwhelmingly to condemn Trump's actions in Syria, according to The Hill.

"That's why we couldn't continue in the meeting, because he was just not relating to the reality of it," she said, later adding, "What we witnessed on the part of the president was a meltdown, sad to say."

Read more: Trump defends his Syria retreat as 'strategically brilliant,' saying the Kurds are 'not angels' and have 'a lot of sand that they can play with'

Trump tweeted a photo of the empty chairs after the Democrats left, calling them "Do Nothing Democrats."

The White House press secretary, Stephanie Grisham, said that Trump "was measured, factual and decisive, while Speaker Pelosi's decision to walk out was baffling, but not surprising."

Read more: Nancy Pelosi took a photo that Trump tweeted to accuse her of having a 'meltdown' and made it her cover photo

Trump later tweeted an official White House photo of the meeting showing Pelosi standing and pointing at Trump while he appears to be talking. He captioned it "Nervous Nancy's unhinged meltdown!"

Pelosi later made it her cover photo on Twitter.

Trump also tweeted a photo of Pelosi and Schumer during the meeting, captioning it "Do you think they like me?"