Electric car maker Tesla will stop accepting bitcoin as a payment, CEO Elon Musk tweeted on Wednesday, citing environmental concerns.

Tesla, he added, won’t be selling any of the bitcoin it owns.

The price of bitcoin fell about 5% to $51,847 after Musk’s comments on Twitter. Tesla’s stock finished Wednesday down 4.4%.

“Cryptocurrency is a good idea on many levels and we believe it has a promising future, but this cannot come at a great cost to the environment,” Musk wrote. “We are concerned about rapidly increasing use of fossil fuels for Bitcoin mining and transactions, especially coal, which has the worst emissions of any fuel.”

“Tesla will not be selling any Bitcoin and we intend to use it for transactions as soon as mining transitions to more sustainable energy,” Musk added, referring to the process through which new Bitcoin is created.

Tesla said in February that it had invested around $1.5 billion in Bitcoin and it planned to begin accepting the digital currency as payment “soon.” The fair market value of Tesla’s Bitcoin holdings as of March 31 was $2.48 billion, according to securities filings.

Bitcoin relies on computers, which rely on electricity, to exist. The number of computers and the energy needed to power them is rising — the growing value of bitcoin is directly tied to the amount of energy it uses.

Bitcoin miners unlock bitcoins by solving complex, unique puzzles. As the value of bitcoin goes up, the puzzles become increasingly more difficult, and it requires more computer power to solve them. Estimates on how much energy Bitcoin uses vary.

A 2019 study by researchers at the Technical University of Munich and the Massachusetts Institute of Technology concluded that, in late 2018, the entire bitcoin network was responsible for up to 22.9 million tons of CO2 per year — similar to a large Western city or an entire developing country like Sri Lanka. Total global emissions of the greenhouse gas from the burning of fossil fuels were about 37 billion tons last year.