President Donald Trump praised Republicans for expanding their majority in the Senate on Wednesday, while offering harsh criticism to GOP House members — including Utah’s Rep. Mia Love — who failed to wholeheartedly embrace his agenda.

Trump said Love had called him “all the time” asking for help freeing Utahn Josh Holt, who had been imprisoned in Venezuela. But her re-election campaign distanced itself from his administration, the president said, which led to her poor performance in Utah’s 4th Congressional District.

“Mia Love gave me no love and she lost,” Trump said. “Too bad. Sorry about that, Mia.”

Love is currently trailing her Democratic challenger, Salt Lake County Mayor Ben McAdams, by less than 3 percentage points. A significant number of ballots remain uncounted in Salt Lake and Utah counties, leaving the race too close to call until new totals are released.

Dave Hansen, Love’s campaign manager, declined to respond to Trump’s criticisms but emphasized that the election results have not yet been finalized.

“There are still tens of thousands of ballots to be counted,” he said. “Nothing has changed.”

However, earlier this week, Hansen said that Love likely would have easily won if Hillary Clinton had won the presidency in 2016 — because Utah Republicans would have been more energized to fight Clinton and help Love.

The McAdams campaign declined media interviews on Wednesday, but indicated it was too early to declare victory in the race.

President Donald Trump, left, sits with Sen. Orrin Hatch, R-Utah, Rep. Mia Love, R-Utah, Sen. Bob Corker, R-Tenn., and Sen. Mike Lee, R-Utah, as they meet with Joshua Holt, who was recently released from a prison in Venezuela, in the Oval Office of the White House, Saturday, May 26, 2018, in Washington. (AP Photo/Alex Brandon)

Love is the only black Republican female member of the U.S. House.

She used the Josh Holt episode as a major part of her campaign, with Holt, his mother and other family members appearing in an ad blitz on Utah airwaves in the election run-up.

The ads portrayed Love as the key to Holt’s release and safe return home, without any mention of the role of Trump and his administration.

It was consistent with the way Love has kept her distance from Trump, who is far less popular in Utah than other Republican presidents have been in the state for decades. Trump has higher disapproval ratings in the 4th Congressional District than most areas of the state, with about 56 percent of registered voters in the district disapproving of Trump, according to an October poll.

While Love has voted with Trump 95.7 percent of the time, according to FiveThirtyEight, she has publicly criticized him several times, particularly on immigration.

As recently as last week, she opposed Trump’s stated intention to use an executive order to do away with what is known as birthright citizenship. Love herself became a U.S. citizen under this constitutional provision when she was born in Brooklyn, N.Y., to parents who had immigrated from Haiti.

Earlier this year, she had called out the president for reportedly describing Haiti, El Salvador and African nations as “s---hole countries.” Love said the president should apologize.

She called his comments “unkind, divisive, elitist" and said they "fly in the face of our nation’s values.” Love said in a statement that “this behavior is unacceptable from the leader of our nation.”

The list of Republican incumbents and candidates criticized by Trump on Wednesday also included Sen. Jeff Flake, R-Ariz., a frequent critic of the president who elected to retire from the Senate rather than seek re-election this year.

Trump took personal credit for Flake’s retirement and suggested the country is better off without the Republican senator.

“In Jeff Flake’s case, it’s simple: me,” Trump said. “I retired him. I’m very proud of it. I did the country a great service.”

Rep. Ryan Costello, R-Pennsylvania, tweeted an apparent defense of Love and the other Republicans insulted by Trump. The retiring lawmaker expressed frustration that Trump would “piss on” defeated incumbents after causing them to bite their lips and deal with harassment caused by the president's administration.

“Angers me to my core,” Costello wrote.

Trump was characteristically combative during the news conference, declaring the results of the midterm election as a personal victory — despite Republicans losing control of the House — and stating that he would take a “warlike posture” against Democratic attempts to hold his administration accountable.

He also reiterated his criticisms of the national news media, equating coverage of polls to “voter suppression,” deriding press questions as “racist” and frequently complaining that he could not understand members of the international press and journalists of color.

In a particularly heated exchange, Trump demanded that CNN reporter Jim Acosta surrender the microphone after the journalist asked the president to explain his description of a migrant caravan making its way toward the United States as an “invasion.”

“CNN should be ashamed of itself having you working for them,” Trump said. “You are a rude, terrible person.”

Reporter Lee Davidson contributed to this report.