Two years after 200 nations forged a United Nations deal to protect the climate, output of gases blamed for global warming has surged to a record.

Carbon dioxide emissions from energy use climbed 1.6 percent in 2017, with emerging and developed economies both contributing to the increase, according to BP PLC data published Wednesday.

In the U.S., which intends to withdraw from the U.N.'s Paris accord, greenhouse-gas output fell for a third year, by 0.5 percent.