Mercedes-Benz is pledging to move away from gasoline vehicles and go fully electric… by 2022, reports Tech Crunch.

The move comes as China announces its gradual plan to ban the sale of fossil fuel vehicles entirely.

Mercedes-Benz chief Dieter Zetsche said that the company will offer either hybrid or fully electric versions of its vehicles by 2022, bringing a total of a minimum of 50 new electric model options by that time. Daimler-owned sub-brand Smart says it will go fully electric by 2020.

Mercedes’ plan follows announcements from automakers like Volvo and Lincoln who are set to go electric by 2019 and 2022, respectively.

With China’s vehicle sales numbers topping the market globally, its sure to persuade auto brands to make the change sooner than later, as well as other countries… eventually.

France and the UK have also revealed plans to phase out fossil fuel by 2040.