President TrumpDonald John TrumpRepublicans consider skipping witnesses in Trump impeachment trial Bombshell Afghanistan report bolsters calls for end to 'forever wars' Lawmakers dismiss Chinese retaliatory threat to US tech MORE on Tuesday weighed in on the shocking defeat of a longtime New York Democrat who lost his primary to a progressive challenger.

Trump tweeted Tuesday night that Rep. Joseph Crowley (N.Y.), the No. 4 House Democrat and chairman of the House Democratic Caucus, was a "big Trump hater" and should have been "nicer" and "more respectful" to him.

ADVERTISEMENT

"Wow! Big Trump Hater Congressman Joe CrowleyJoseph (Joe) CrowleyDemocrats work to bring labor on board trade deal The Democrats' generational battle Ocasio-Cortez apologizes for blocking ex-politician on Twitter, settles lawsuit MORE, who many expected was going to take Nancy PelosiNancy PelosiTrump trade deal likely to sow division in Democratic presidential field Trump supporters at Pa. rally 'upset' after Democrats introduce impeachment articles California GOP candidate arrested on stalking charges MORE’s place, just LOST his primary election. In other words, he’s out! That is a big one that nobody saw happening. Perhaps he should have been nicer, and more respectful, to his President!" Trump wrote.

In a second tweet, the president mocked Democrats as being in "turmoil," claiming that elections across the country, including Crowley's defeat, played into his prediction of a "red wave" of GOP support in November.

"The Democrats are in Turmoil! Open Borders and unchecked Crime a certain way to lose elections. Republicans are for Strong Borders, NO Crime! A BIG NIGHT!" he tweeted.

Crowley lost the Democratic nomination Tuesday night to Alexandria Ocasio-Cortez, a progressive candidate backed by Sen. Bernie SandersBernie SandersTrump trade deal likely to sow division in Democratic presidential field Buttigieg says he doubts consulting work for insurer led to layoffs Trump supporters at Pa. rally 'upset' after Democrats introduce impeachment articles MORE (I-Vt.). She has called for abolishing Immigration and Customs Enforcement and sharply condemned Trump's policy of separating families at the border for prosecution.

Her campaign sought to cast Crowley as closer to Republicans than Democrats, noting in a tweet just days ago that Crowley and the president share several donors.

".@repjoecrowley’s #2 all-time career donor, Blackstone, profits off immigrant detention centers and funded the Trump campaign," Ocasio-Cortez tweeted on June 21.

"Last night, Crowley was the guest of honor at a GOP fundraiser held by opioid pill-mill lobbyists and other Trump donors."