U.S. President Donald Trump has decided to withdraw from the Paris climate accord, Axios news outlet reported on Wednesday, citing two unidentified sources with direct knowledge of the decision.

Trump who has previously called global warming a hoax, refused to endorse the landmark climate change accord at a summit of the G-7 group of wealthy nations on Saturday, saying he needed more time to decide. He then tweeted that he would make an announcement this week.

Fox News also cited an unidentified source confirming the pullout.

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.

Axios said details of the pullout are being worked out by a team that includes EPA Administrator Scott Pruitt. The choice is between a formal withdrawal that could take three years or leaving the U.N. treaty that the accord is based on, which would be quicker but more extreme, according to Axios.

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

Former President Barack Obama, who helped broker the accord, praised the accord during a trip to Europe this month.