Following President Donald Trump's announcement that he plans to pull the U.S. out of the landmark Paris climate agreement, top tech CEOs have voiced their discontent--and their plans to continue to combat climate change. Trump made the announcement on Thursday afternoon--after Silicon Valley and world leaders, as well as multiple members of congress, implored him to stay in the agreement, which has 195 signatory countries.

Tesla's Elon Musk, who tweeted before the announcement that he would "have no choice but to depart councils" if Trump pulled the U.S., made good on his promise that afternoon. Musk formerly sat on Trump's Strategic and Policy Forum and Manufacturing Jobs Initiative councils.

"Am departing presidential councils," Musk wrote in a tweet. "Climate change is real. Leaving Paris is not good for America or the world."

Also over Twitter, Disney CEO Robert Iger announced he'll also leave his position on the President's business advisory council "as a matter of principle."

Other CEOs moved to reaffirm their companies' climate change commitments. In a letter to Apple employees, Tim Cook, who currently works with the White House Office of American Innovation, expressed disapproval for the move and outlined Apple's shift to renewable energy. Backing out of the accord "will have no impact on Apple's efforts to protect the environment."

Similarly, Marc Beinoff of Salesforce tweeted a statement that highlighted the company's sustainability goals, namely "reaching net-zero greenhouse gas emissions, delivering a carbon neutral cloud and achieving 100 percent renewable energy."

Mark Zuckerberg also provided a statement that underlined Facebook's commitment to sustainability. "For our part, we've committed that every new data center we build will be powered by 100 percent renewable energy," Zuckerberg wrote in the Facebook post.

Stripe CEO Patrick Collison also reiterated his aim to make the financial services startup that he co-founded with his younger brother, John, carbon neutral. He tweeted Thursday evening that the company has almost reached its goal.

Other business leaders who have spoken out include: Goldman Sachs CEO Lloyd Blankfein, Microsoft president Brad Smith and Google CEO Sundar Pichai.

Companies aren't the only ones acting in response to Trump's announcement. Governors from states including California, Massachusetts and Washington and mayors from cities like Pittsburgh, New York City and Philadelphia have proclaimed their commitment to the accord. Philanthropist and businessman Michael Bloomberg is also organizing a coalition of American businesses, cities, states and even universities to submit a plan to the UN as a part of the accord.