President Donald Trump said he's withdrawing his endorsement of longtime ally Rep. Marjorie Taylor Greene and would support "the right person" to run against her in a primary.

A Georgia Republican, Greene has recently been critical of Trump for focusing too much on foreign policy and for calling for an end to the H-1B visa program after Trump defended it.

Greene is also backing a measure to release all of the government's records on Jeffrey Epstein, the disgraced financier who killed himself in jail while awaiting trial on sex trafficking charges. Trump has been critical of the effort.

"All I see 'Wacky' Marjorie do is COMPLAIN, COMPLAIN, COMPLAIN!" Trump wrote on social media Nov. 14 in announcing he is rescinding his endorsement.

Greene responded on social media by sharing text messages she sent about Epstein, one of them apparently to Trump, writing “apparently this is what sent him over the edge.”

“He’s coming after me hard to make an example to scare all the other Republicans before next week's vote to release the Epstein files,” Greene said, adding: “It’s astonishing really how hard he’s fighting to stop the Epstein files from coming out.”

Greene noted that she has been one of Trump’s staunchest supporters but said “I don’t worship or serve Donald Trump.”

The next morning, on Nov. 15, Greene called for "a new way forward" that allows people to have political disagreements and still "love and respect one another.

"The toxic political industrial complex thrives on ripping us all apart but never delivers anything good for the American people, whom I love," she wrote.

Greene attracted attention for criticizing House GOP leadership during the government shutdown and voicing some of the same concerns being raised by Democrats about health care costs.

She shifted her criticism to Trump on Nov. 10, writing on X, "I would really like to see nonstop meetings at the WH on domestic policy not foreign policy and foreign country’s leaders." Greene was referring to Trump hosting Syrian President Ahmed al-Sharaa at the White House.

As Trump has focused heavily on foreign policy, including recent trips to Asia and the Middle East, Democrats have honed in on cost-of-living concerns, which helped the party win elections earlier this month.

Trump defended his foreign policy moves and lashed out at Greene in comments aboard Air Force One Nov. 14 as he was traveling to Florida. He later posted his social media message about a possible primary challenge.

"I understand that wonderful, Conservative people are thinking about primarying Marjorie in her District of Georgia, that they too are fed up with her and her antics and, if the right person runs, they will have my Complete and Unyielding Support," Trump wrote.

Contributing: Erin Mansfield, Joey Garrison

This article originally appeared on USA TODAY: Trump withdraws endorsement of longtime MAGA ally Marjorie Taylor Greene

Reporting by Zac Anderson, USA TODAY / USA TODAY

USA TODAY Network via Reuters Connect