President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE endorsed Rep. Dan Donovan (R-N.Y.) on Wednesday, giving the Staten Island Republican a boost ahead of New York's primary elections next month.

"There is no one better to represent the people of N.Y. and Staten Island (a place I know very well) than @RepDanDonovan, who is strong on Borders & Crime, loves our Military & our Vets, voted for Tax Cuts and is helping me to Make America Great Again," Trump tweeted. "Dan has my full endorsement!"

There is no one better to represent the people of N.Y. and Staten Island (a place I know very well) than @RepDanDonovan, who is strong on Borders & Crime, loves our Military & our Vets, voted for Tax Cuts and is helping me to Make America Great Again. Dan has my full endorsement! — Donald J. Trump (@realDonaldTrump) May 30, 2018

Donovan, however, was one of 12 Republicans who voted against tax cuts.

The endorsement comes one week after Donovan met with Trump and other GOP congressmen aboard Air Force One.

Donovan said he and two Long Island Republicans, Rep. Pete King Peter (Pete) KingTrump holds private funeral service for brother Robert Trump at White House Cheney clashes with Trump Coronavirus Report: The Hill's Steve Clemons interviews Rep. Sean Patrick Maloney MORE and Rep. Lee Zeldin Lee ZeldinDCCC reserves new ad buys in competitive districts, adds new members to 'Red to Blue' program Overnight Defense: House panel probes Pompeo's convention speech | UN council rejects US demand to restore Iran sanctions | Court rules against Pentagon policy slowing expedited citizenship The Hill's 12:30 Report: Republicans conduct in-person convention roll call MORE, flew from Joint Base Andrews in Maryland to New York, where Donovan said the group discussed the MS-13 gang at a lunch roundtable.

Donovan is facing off against former Rep. Michael Grimm in the Republican primary for New York's 11th District. Grimm served an eight-month prison sentence for tax fraud and was released in 2016.

Trump's endorsement comes as a blow to Grimm, who has been attacking Donovan from the right and working to align himself closely with the president.

ADVERTISEMENT

Grimm has accused Donovan of failing to back the president on legislation, including the vote to repeal the Affordable Care Act and a vote to cut funding for so-called sanctuary cities.

Donovan's allies contend that those votes would have had adverse effects on New York City specifically — the health-care bill included a measure that saddled the city the rest of the state's Medicaid costs, while the "sanctuary city" bill would have jeopardized the New York City Police Department's anti-terrorism funding.

Michael Caputo, a former campaign adviser for Trump, has also advised Grimm's campaign.

Republicans have largely backed Donovan in anticipation of a fierce Democratic challenge for the House seat in the November election — a factor that Trump emphasized in a second tweet on Wednesday.

"Very importantly, @RepDanDonovan will win for the Republicans in November...and his opponent will not. Remember Alabama," he said, apparently referencing former Alabama Senate candidate Roy Moore Roy Stewart MooreVulnerable Senate Democrat urges unity: 'Not about what side of the aisle we're on' Sessions hits back at Trump days ahead of Alabama Senate runoff Judge allows Roy Moore lawsuit over Sacha Baron Cohen prank to proceed MORE, who was vanquished in December by Democrat Doug Jones. "We can’t take any chances on losing to a Nancy Pelosi Nancy PelosiPelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare House lawmakers reach deal to avert shutdown Centrist Democrats 'strongly considering' discharge petition on GOP PPP bill MORE controlled Democrat!"

Very importantly, @RepDanDonovan will win for the Republicans in November...and his opponent will not. Remember Alabama. We can’t take any chances on losing to a Nancy Pelosi controlled Democrat! — Donald J. Trump (@realDonaldTrump) May 31, 2018

Ben Kamisar contributed reporting.