By JULIE PACE, Associated Press

WASHINGTON (AP) — President Donald Trump is expected to withdraw the United States from a landmark global climate agreement, a White House official said Wednesday, though Trump and aides were looking for "caveats in the language" related to the exit and had not made a final decision.

Leaving the deal would fulfill a central campaign pledge, but would certainly anger international allies that spent years in difficult negotiations that produced an accord to reduce carbon emissions.

Trump faced considerable pressure to hold to the deal during visits with European leaders and Pope Francis on his recent trip abroad. The official, who insisted on anonymity to discuss the decision before the official announcement, said the president and his were finalizing the details of a pullout.

"I will be announcing my decision on the Paris Accord over the next few days. MAKE AMERICA GREAT AGAIN!" Trump tweeted Wednesday.

While Trump currently favors an exit, he has been known to change his thinking on major decisions and tends to seek counsel from a range of inside and outside advisers, many with differing agendas, until the last minute.

Trump's top aides have been divided on the accord.

Trump was to meet later Wednesday with Secretary of State Rex Tillerson, who has favored remaining in the deal. Chief strategist Steve Bannon supports an exit. Senior adviser Jared Kushner generally thinks the deal is bad, but would like to find a way to see if the U.S. emissions targets can be changed.

Ivanka Trump's preference was to stay, but she made it a priority to establish a review process so her father heard from all sides of the debate, said a senior administration official who was not authorized to discuss her Ivanka Trump's thinking and spoke on condition of anonymity.

Nearly 200 nations, including the United States under President Barack Obama's administration, agreed in 2015 to voluntarily reduce their greenhouse gas emissions in an effort to combat climate change. Withdrawing would leave the United States aligned only with Russia among the world's industrialized economies in rejecting action to combat climate change.

A senior European Union official said the EU and China would reaffirm their commitment to the pact regardless of what Trump did, and spell out, during talks Friday in Brussels, how they would meet their obligations. The official, who is involved in preparing the meeting between EU officials and China's premier, was not authorized to speak publicly and discuss the matter on condition of anonymity because the meeting statement was not finalized.

Trump pledged during his presidential campaign to withdraw the U.S. from the pact immediately after taking office, but had wavered on the issue since winning the election.

During Trump's overseas trip last week, European leaders pressed him to keep the U.S. in the pact. French President Emmanuel Macron spoke with Trump at length about the issue during a meeting in Brussels, and even at the Vatican, Cardinal Secretary of State Pietro Parolin made his own pro-Paris pitch to Trump and his advisers.

News of Trump's expected decision drew swift reaction from the United Nations. The organization's main Twitter page quoted Secretary-General Antonio Guterres as saying, "Climate change is undeniable. Climate change is unstoppable. Climate solutions provide opportunities that are unmatchable."

The Sierra Club's executive director, Michael Brune, called the expected move a "historic mistake which our grandchildren will look back on with stunned dismay at how a world leader could be so divorced from reality and morality."

The House Democratic leader, Rep. Nancy Pelosi of California, referred to it as "a stunning abdication of American leadership and a grave threat to our planet's future." She said the agreement "honors our collective moral responsibility to leave future generations with a planet that is clean, healthy and sustainable."

Trump claimed before taking office that climate change was a "hoax" created by the Chinese to hurt the U.S. economy. Such an assertion stands in defiance of broad scientific consensus.

But Trump's chief White House economic adviser, Gary Cohn, told reporters during the trip abroad that Trump's views on climate change were "evolving" following the president's discussions with European leaders.

Word of Trump's expected decision comes a day after the president met with Scott Pruitt, the administrator of the Environmental Protection Agency. Like his boss, Pruitt has questioned the consensus of climate scientists that the Earth is warming and that man-made climate emissions are to blame.

Once in power, Trump and Pruitt have moved to delay or roll back federal regulations limiting greenhouse gas emissions while pledging to revive the long-struggling U.S. coal mines.

What is not yet clear is whether Trump plans to initiate a formal withdrawal from the Paris accord, which under the terms of the agreement could take three years, or exit the underlying U.N. climate change treaty on which the accord was based.

Senate Majority Leader Mitch McConnell, R-Ky., and 21 other Republican sent Trump a letter last week urging him to follow through on his campaign pledge to pull out of the climate accord. Most of the senators who signed are from states that depend on the continued burning of coal, oil and gas.

There have been influential voices urging Trump not to ditch the Paris accord. Forty Democratic senators sent Trump a letter urging him to stay in, saying a withdrawal would hurt America's credibility and influence on the world stage.

Hundreds of high-profile businesses have spoken out in favor of the deal, including Apple, Google and Walmart. Even fossil fuel companies such as Exxon Mobil, BP and Shell say the United States should abide by the deal.

The U.S. is the world's second largest emitter of carbon, following only China. Beijing, however, has reaffirmed its commitment to meeting its targets under the Paris accord, recently canceling construction of about 100 coal-fired power plants and investing billions in massive wind and solar projects.

___

Associated Press writers Jill Colvin and Michael Biesecker in Washington, and Lorne Cook in Brussels, contributed to this report.