German luxury carmaker Daimler said Thursday it was investing 40 billion euros ($47 billion) in a full shift to electric Mercedes-Benz vehicles by the end of the decade.

“Mercedes-Benz will be ready to go all-electric within this decade,” the firm said in a presentation, although it did add the caveat “where conditions allow”.

Also read| EU begins ‘bloody hard’ battle to reach green ambition

The carmaker unveiled an ambitious strategy that would have an electric version of all models by 2025 and a pledge that all new car platforms would be electric-only from that date.

To enable its shift to electric vehicles Daimler said it plans to open eight battery production facilities and planned to use a common battery platform across more than 90 percent of future vehicles.

“The EV shift is picking up speed — especially in the luxury segment, where Mercedes-Benz belongs,” Daimler CEO Ola Kallenius said in a statement.

Also read| Volkswagen to stop selling combustion engines in Europe by 2035

“Our main duty in this transformation is to convince customers to make the switch with compelling products,” he added.

The company said it is aiming to boost efficiency across the board with the goal of providing a real driving range of over 1,000 km (620 miles) on a single charge.

Also read| EU slaps Volkswagen, BMW with 875-mn-euro antitrust fine

A growing number of carmakers have unveiled plans to shift to electric vehicles, making it likely that the days of the internal combustion engine are numbered.

The EU signalled last week that it wants a ban on new petrol and diesel vehicles by 2035 to meet its target of reaching carbon neutrality by mid-century.