BOSTON (CBS) – Former Secretary of State John Kerry slammed President Donald Trump’s decision to pull the United States out of the Paris climate accord on Thursday.

Kerry, who signed the agreement in 2016, said Trump was making a “big mistake.”

READ MORE: Police Searching Woods In Abington For Missing 5-Year-Old Elijah Lewis

“For a President to follow that historic step forward by unilaterally walking backwards from science and backwards from leadership on behalf of polluters and fringe ideologues may be the most self-defeating action in American history,” the former Massachusetts senator said in a statement.

The United States will join Nicaragua and Syria as the only countries that are not part of the agreement. Kerry said Trump’s decision isolates America from the rest of the world.

“The President who promised “America First” has taken a self-destructive step that puts our nation last,” Kerry said. “This is an unprecedented forfeiture of American leadership which will cost us influence, cost us jobs, and invite other countries to walk away from solving humanity’s most existential crisis.”

(Photos by Zach Gibson and Saul Loeb/AFP/Getty Images)

Kerry called for states and cities to continue honoring the ideals of the Paris agreement, which requires participants to present plans to reduce their carbon emissions. Massachusetts Gov. Charlie Baker and Boston Mayor Marty Walsh echoed those sentiments Thursday.

READ MORE: 'Plan For Alternatives': Toys May Be In Short Supply This Holiday Season

“Despite today’s announcement, Massachusetts is aggressively working to exceed the goals of the Paris Agreement on the state level, while growing our economy through clean energy innovation and environmental stewardship,” Baker said. “In Massachusetts and around the world, climate change is a shared reality and our ability to rise and respond to this challenge will shape future generations.”

Boston City Hall lit up green after President Trump opted out of Paris Accord (WBZ-TV)

Boston City Hall was lit up green Thursday night, and Walsh tweeted “Boston stands with the environment.” He said the city will continue efforts to be carbon neutral by 2050.

“Withdrawing the U.S. from the Paris climate agreement isn’t just a setback, it’s irresponsible,” Walsh said. “Boston will not standby given what’s at stake.”

Massachusetts Senator Ed Markey told a crowd this move could actually hurt American jobs in a growing clean energy sector.

“There are 70,000 coal miners in the whole of the United States,” Sen. Markey said. “In Massachusetts, two percent of America’s population, we have 100,000 people in the clean energy sector.”

But the CEO of local energy intelligence company EnerNOC says this won’t stop a booming industry.

MORE NEWS: Lauren Astley's Father Works With Wayland Students To Raise Awareness About Teen Dating Violence

“It’s really tough to stop the train from rolling and the train is rolling,” said EnerNOC CEO Tim Healy. “There’s a lot of momentum in the clean energy economy right now.”