President Donald Trump announced Thursday that both Mexico and Canada have agreed to renegotiate the North American Free Trade Agreement (NAFTA) just a day after the United States had threatened to pull out.

On Wednesday, a CNN report announced that Trump was considering an executive order to end U.S. participation in NAFTA.

The White House is currently mulling an executive order declaring the US’ intent to withdraw from NAFTA, a move that could trigger a renegotiation of the trade pact rather than outright withdrawal, the officials said.

Just hours later, some republican members of congress asked the president to hold off on scrapping NAFTA and the president agreed to delay the move.

President Trump tweeted Thursday that Mexico and Canada had agreed to renegotiate the trade deal to avert a U.S. pull out.

Trump didn’t completely close the door on the United States dropping NAFTA should negotiations fall through.