French President Emmanuel Macron blasted President Trump Thursday for pulling the U.S. out of the Paris climate agreement and offered a "second homeland" to those who are disappointed by the decision.

"Tonight, I wish to tell the United States: France believes in you. The world believes in you. I know that you are a great nation. I know your history, our common history," Macron said in a statement, delivered in English, posted on Twitter.

"To all scientists, engineers, entrepreneurs, responsible citizens who were disappointed by the decision of the president of the United States, I want to say that they will find in France a second homeland," Macron said. "I call on them, come and work here with us to work together on concrete solutions for our climate, our environment. I can assure you France will not give up the fight."

To all scientists, engineers, entrepreneurs, responsible citizens who were disappointed by the decision of the US: pic.twitter.com/qxjPX8MhKt — Emmanuel Macron (@EmmanuelMacron) June 1, 2017

Mr. Trump announced Thursday that he is pulling the U.S. out of the Paris agreement, which was one of President Obama's major achievements in office. The withdrawal process could take up to three years.

Get Breaking News Delivered to Your Inbox

The pact is aimed at combating climate change around the world and helping nations adapt to its effects by requiring countries to present plans to reduce carbon emissions. Specifically, it requires countries to set their own targets for reducing emissions by 2020. The Obama administration, for example, had committed the U.S. to reducing carbon emissions by 26 to 28 percent by 2025. The agreement also established a $100 billion fund to help vulnerable countries deal with the effects of climate change.