Leaders of scores of cities and some states across the country said Thursday they’ll continue to follow global climate goals, even though President Donald Trump said the country is withdrawing from the Paris Agreement.

Trump made the announcement Thursday and said under the Paris Agreement, the U.S. could lose nearly 3 million jobs by 2025 and pay billions to a global climate fund. Under former President Barack Obama, countries agreed to certain standards, and nations could alter their commitments, according to The Associated Press.

“Not only does this deal subject our citizens to harsh economic restrictions, it fails to live up to our environmental ideals,” Trump said. “As someone who cares deeply about the environment, which I do, I cannot in good conscience support a deal that punishes the United States.”

Governors from four states — California, New York, Massachusetts and Washington — plan to uphold the Paris Agreement, the Golden State’s governor said in a statement.

As of Thursday, 82 mayors also pledged their support of the Paris accord. They ranged from leaders of Boston to Atlanta, Milwaukee to Minneapolis, New Orleans to Orlando, Florida, and Sacramento, California, to Los Angeles.

In 2015 when the Paris Agreement was signed, 117 mayors pledged to participate in emission-reduction efforts and new reporting standards for climate-change data.

Miami-Dade County Mayor Carlos Gimenez, a Republican, was one of those who made the initial pledge. He responded to Trump’s decision Thursday by stating he remained committed to goals of a 2015 agreement with mayors from China that agreed to carbon-emission reduction benchmarks. His office said it believes those standards are more stringent than the Paris Agreement.

Gimenez said the county will continue to protect critical infrastructure from extreme high tides and higher sea levels and will continue to reduce greenhouse gas emissions. But he did not go as far as other mayors in resisting Trump’s decision; he declined to endorse his area Thursday to the Paris Agreement, The Miami Herald reported.

Pittsburgh Mayor Bill Peduto, a Democrat, said he’ll issue an executive order Friday saying the city will meet its carbon-reduction goals for 2023 and 2030.

“As the world starts to finance renewable energies, and those that finance banks understand that is where the financial waters are moving, then the United States will either be a part of that, or we’re going to be left behind and watch Germany and Southeast Asia lead the next economic revolution,” Peduto said Thursday on CNN.