President Donald Trump announced Saturday that he will not use his Doral golf resort in Miami for the G-7 summit next year, reversing course after the decision drew swift condemnation from Democratic and Republican lawmakers.

“Based on both Media & Democrat Crazed and Irrational Hostility, we will no longer consider Trump National Doral, Miami, as the Host Site for the G-7 in 2020,” Trump posted on Twitter late Saturday. “We will begin the search for another site, including the possibility of Camp David, immediately.”

In announcing the Doral pick just days earlier, White House acting chief of staff Mick Mulvaney described the resort as “the best place” to host the leaders of the world’s most industrialized economies. Mulvaney tried to head off criticism about the propriety of using one of the president’s properties, saying it was well suited for the summit.

Republicans expressed relief Saturday.

Former White House press Secretary Ari Fleischer simply tweeted: “Good call.”

Bradley Moss, a national security lawyer, tweeted:

“Wow, the pressure from within the Republican caucus must have been immense for him to so quickly back off.”

Several analysts said the sudden reversal reflects Trump’s concerns about holding Republican support as impeachment heats up.

Tony Schwartz, who ghost wrote Trump’s “The Art of the Deal,” tweeted.

“Trump never admits being wrong on anything. Now, after fierce criticism for clear self-dealing, he says he won’t hold G-7 at his own hotel after all. One more sign that he is feeling threatened and running scared.”

Mulvaney had initially dismissed Camp David, the presidential retreat in Maryland. President Barack Obama held the meeting there in 2012.