Washington (Reuters): President Donald Trump will follow through on a campaign pledge to pull the United States out of a global pact to fight climate change, a source briefed on the decision said.

Trump, who has previously called global warming a hoax, did not confirm the decision in a post on Twitter, saying only, "I will be announcing my decision on the Paris Accord over the next few days."

Trump refused to endorse the landmark climate change accord at a summit of the G7 group of wealthy nations on Saturday, saying he needed more time to decide, and promised an announcement this week.

A US decision to withdraw from the accord could further alienate American allies in Europe already wary of Trump and call into question U.S. leadership and trustworthiness on one of the world's leading issues. A pullout also would be one more step by the Republican president to erase the legacy of his predecessor, Democrat Barack Obama, who helped broker the accord and praised it during a trip to Europe this month.

The decision will put the United States in league with Syria and Nicaragua as the world's only non-participants in the Paris Climate Agreement. It could have sweeping implications for the deal, which relies heavily on the commitment of big polluter nations to reduce emissions of gases scientists blame for sea level rise, droughts and more frequent violent storms.

The accord, agreed on by nearly 200 countries in Paris in 2015, aims to limit planetary warming in part by slashing carbon dioxide and other emissions from the burning of fossil fuels. Under the pact, the United States committed to reducing its emissions by 26 to 28 percent from 2005 levels by 2025.

Environmental groups derided the Trump administration's reported decision. The Sierra Club said a US withdrawal from the Paris deal would be a "historic mistake." Friends of the Earth said it would make America the world's "foremost climate villain."

Axios news outlet, which first reported the withdrawal, said details of the pullout are being worked out by a team that includes EPA Administrator Scott Pruitt, an ally of fossil fuel industries. The choice is between a formal withdrawal that could take three years or leaving the UN treaty that the accord is based on, which would be quicker but more extreme, according to Axios.

International leaders began reacting to the reports of Trump's plans.

A withdrawal by the United States would be disappointing but the European Union stands ready to take global leadership on the issue, European Commission Vice President Maros Sefcovic said in Brussels.

"There is a much stronger expectation from our partners across the world from Africa, Asia and China that Europe should assume leadership in this effort and we are ready to do that," Sefcovic added.

France's ambassador to the United States, Gerard Araud, said on Twitter that the Paris agreement "doesn't infringe on US sovereignty" and noted that major American corporations had supported the deal.

Finland's Prime Minister Juha Sipila said a US withdrawal would be a big setback, adding that "we must find partners to continue, because this work must not stop."

Trump had vowed during his 2016 presidential campaign to "cancel" the Paris deal within 100 days of becoming president as part of an effort to bolster U.S. oil and coal industries. That promise helped rally supporters sharing his skepticism of global efforts to police US carbon emissions.

Trump has repeatedly expressed doubts about climate change, at times calling it a hoax to weaken U.S. industry. An overwhelming majority of scientists the human use of fossil fuels for energy is driving climate change.

The decision to withdraw from the climate accord was influenced by a letter from 22 Republican US senators, including Majority Leader Mitch McConnell, calling for an exit, Axios reported.

The United States is the world's second-biggest carbon dioxide emitter behind China.