Elon Musk has said he would have “no choice” but to leave his advisory role on a White House business council if Donald Trump pulls out of the Paris Agreement on climate change.

The head of electronic car maker Tesla and space exploration company SpaceX tweeted that he had “done all I can to advise...that we remain.”

Mr Musk has been a key tech industry advisor for the White House. He even praised Mr Trump's appointment of former Exxon Mobil CEO Rex Tillerson as Secretary of State because Mr Tillerson said he believed climate change is real and he also supported a carbon tax on companies to discourage high emissions.

Mr Musk, whose Tesla vehicles do not use gasoline or diesel fuel, is committed to moving away from fossil fuels and towards cleaners sources of energy. Tesla also manufacturers solar panels.

The US is currently one of the largest emitters of carbon dioxide in the world, so if Mr Trump was to pull the country out of the pact signed by nearly 200 countries to reduce such carbon emissions it would be a major blow to a deal that aims to help avert the worst effects of climate change.

Other major companies like Google, Apple, Facebook, Walmart, and electronics retailer Best Buy have committed to reducing carbon footprints of their supply chains in part due to consumer demand.

Following a number of reports in US media about the move, Mr Trump tweeted that he would be announcing “my decision on the Paris Accord over the next few days” followed by his campaign slogan “MAKE AMERICA GREAT AGAIN!”.

White House Press Secretary Sean Spicer later said to expect Mr Trump's decision "very soon".

Lisa Murray's climate change photography Show all 12 1 /12 Lisa Murray's climate change photography Lisa Murray's climate change photography Dinka cattle herders starting their migration in South Sudan Lisa Murray Lisa Murray's climate change photography A Dinka woman fetches water in South Sudan Lisa Murray Lisa Murray's climate change photography Veronica in South Sudan preparing tea outside her home, recently ravaged by heavy flooding Lisa Murray Lisa Murray's climate change photography Children playing in Vietnam. When it floods, transport to and from school is a major challenge Lisa Murray Lisa Murray's climate change photography Sugeng, a fish and crab farmer from Indonesia who suffers financially every time the area floods Lisa Murray Lisa Murray's climate change photography Tan, a vegetable farmer, learning new methods through Oxfam in Vietnam Lisa Murray Lisa Murray's climate change photography Maluk, a 19-year-old from Tonj South, South Sudan Lisa Murray Lisa Murray's climate change photography Normally this farmer in South Sudan would be harvesting sorghum, but rains are late so the hunger season continues Lisa Murray Lisa Murray's climate change photography Herders bringing home their cattle in Afar, Ethiopia Lisa Murray Lisa Murray's climate change photography Farmers harvesting chilli in Ethiopia Lisa Murray Lisa Murray's climate change photography A woman in Tigray, Ethiopia, scares birds away from her crops with a slingshot Lisa Murray Lisa Murray's climate change photography Irula tribe woman in Tamil Nadu Lisa Murray

Mr Trump made repeated campaign promises to “cancel” the agreement. He continued the rhetoric in the White House that he would grow the US coal sector and bring back those and manufacturing jobs to the US.

Many developing countries rely on cheap sources of fossil fuels to help grow their economies to catch up with developed economies like those of the EU, Japan, Canada, and the US.

However, India and China have begun to rapidly scale up their solar power investments and capabilities in response to the Paris Agreement and to minimise the negative effects of climate change-related natural disasters like drought and flood.

President Barack Obama ratified the agreement in 2016 through executive order, bypassing the approval process in what the administration felt was a hostile Congress influenced heavily by climate-deniers and oil and gas industry lobbyists.

This is what gives Mr Trump the authority to withdraw the US from the agreement in a three-year process or take the US out of the underlying United Nations climate accord all together - a process that would be much faster and in line with Mr Trump’s ire towards the UN.

Many Tesla consumers and supporters criticised Mr Musk for maintaining his relationship with the White House in light of all this, but he has said he could influence policy from within if he remained in good standing on the 19-member business council.