A fully electric version of the Mini is to be built in the UK, giving a huge boost to the car industry.

The firm’s German owners BMW said the new model’s electric drivetrain will be built at its plants in Bavaria before being integrated into the car at Cowley, near Oxford.

The car will be a variant of its three-door hatch model and will go into production in 2019.

BMW said in a statement from Munich that electrification was one of the central pillars of the group’s corporate strategy.

Mini production line at Cowley The car will go into production in 2019 (PA)

All of its models were able to be electrified, with a full electric or plug-in hybrid drivetrain being offered in addition to a combustible engine.

Additional electrified models will be launched in the coming years and beyond 2020.

Oliver Zipse, BMW’s management board member for production, said: “BMW Group Plants Dingolfing and Landshut (in Bavaria) play a leading role within our global production network as the company’s global competence centre for electric mobility.

“Our adaptable production system is innovative and able to react rapidly to changing customer demand.

“If required, we can increase production of electric drivetrain motor components quickly and efficiently, in line with market developments.”

BMW said it expected electric models to account for between 15-25% of sales by 2025.

The group produces electric models at 10 plants across the world.

An electric Mini is expected to be a huge seller in the UK and overseas and the news is a huge vote of confidence in the 4,500 Cowley workers.

The decision is also welcome news for the UK’s automotive industry, which has been warning of rising costs if a free trade deal cannot be negotiated as part of Brexit.

Len McCluskey, general secretary of Unite, which recently agreed a deal on pensions for BMW workers to end a dispute with the company, said: “This announcement is a huge and totally deserved boost to a world-class workforce that has endured a tough few months.

“Around the world and for generations, the Mini means made in Britain. With the electric Mini being built in Cowley, the tradition continues but with the added bonus that this is one of the important innovations of tomorrow.

“It is fantastic news and is in no small part down to the tremendous skills and efficiency of BMW’s UK workers and our members.

“Throughout the years, Mini workers have shown themselves to be leaders in innovation. It is only right that this tradition continues with the next generation electric Mini being built here in the UK.”