President Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE misidentified the Appalachian Trail as the “Tallahassee Trail” while slamming Rep. Mark Sanford Mark SanfordOn The Money: Business world braces for blue sweep | Federal Reserve chief to outline plans for inflation, economy | Meadows 'not optimistic' about stalemate on coronavirus deal Trump critic Sanford forms anti-debt advocacy group Republicans officially renominate Trump for president MORE (R) during a rally in Sanford's home state of South Carolina on Monday night.

Trump said he "never liked [Sanford] too much," after earlier this month tweeting an endorsement of the congressman's primary opponent hours before Sanford lost the GOP vote.

"The Tallahassee Trail — must be a beautiful place. Unfortunately, he didn't go there," Trump said Monday.

The president was trying to make a dig at the former governor’s 2009 extramarital affair.

ADVERTISEMENT

Sanford had lied and said he was “hiking the Appalachian Trail” when he had actually gone to Argentina to visit his mistress.

Trump was in the state for a campaign stump on Gov. Henry McMaster's (R) behalf.

The president called Sanford a “nasty guy” during a meeting with congressional Republicans last week.

The president’s jab came after Sanford lost his primary bid to state Rep. Katie Arrington (R) for the congressional seat.

Arrington was later injured in a two-car accident on Friday but is expected to make a full recovery.

Trump told the South Carolina crowd that he had tweeted his endorsement for Arrington just hours before the polls closed because he “can’t stand” Sanford.

"What happened? I did. I can't stand that guy. I don't care. I don't care, and I like her,” Trump said.

Sanford, a frequent Trump critic, said at the time he lost because he wasn’t “Trump enough.”

"People are running for cover because they don't want to be on the losing side of a presidential tweet," the South Carolina Republican told NBC’s "Meet the Press" on Sunday. “The idea that you can't speak out and say, ‘I disagree with you here, but I agree with you on 90 percent of the stuff’ ... is, again, a twilight world that I've never seen."