For Volvo the internal combustion engine has run its course.

In the face of competition from upstarts like Tesla Inc., which begins production this week of its new mass-market Model 3 electric battery-powered family car, the Chinese-owned automotive group on Wednesday said all new Volvo models from 2019 would be either fully electric or a hybrid.

Volvo is the first major auto maker to abandon the technology that has powered the industry for more than a century. Hakan Samuelsson, president and chief executive of Volvo Cars, said in a statement that the move “marks the end of the solely combustion engine-powered car,” reiterating his target of selling one million electric cars and hybrids by 2025. “When we said it, we meant it. This is how we are going to do it.”

Volvo also said it would launch five new electric and hybrid vehicles between 2019 and 2021. Two of the new models would be built by Polestar, the performance-car unit that Volvo is spinning off as a “separately branded electrified global high performance car company.” Volvo Cars would build the other three models. No further details were available.

All major auto makers are preparing for a shift to electric vehicles, but the challenge for the industry is to get the timing right because of the industry’s typically long product cycles that involve years of research and development before a vehicle rolls off the assembly line.