BMW will expand the 4 Series and 7 Series lineups with electrified variants for the 2024 model year.

The German luxury automaker is ramping up its portfolio of electric models as it takes the fight to Tesla and races to meet tightening emissions regulations in major markets.

By 2025, BMW says, one-fourth of its global sales will be all-electric, increasing to one-third by 2026. Last year, BMW sold 15,584 fully electric vehicles in the U.S., accounting for 4.7 percent of total sales.

In the third quarter, BMW will introduce an all-wheel-drive variant of the i4 battery-powered compact sedan. The 2024 i4 xDrive40 will start at $62,595 including shipping.

Dual electric motors will deliver 396 hp and propel the sedan from 0 to 60 mph in 4.9 seconds. The i4 xDrive40 has an estimated range of up to 307 miles on a single charge.

Also, in the fall, BMW will offer two new electrified variants of the seventh-generation 7 Series flagship sedan.

The single-motor, rear-wheel-drive 2024 i7 eDrive50 will deliver 449 hp and start at $106,695 including shipping.

The 2024 750e xDrive plug-in hybrid pairs a 308-hp TwinPower Turbo 3.0-liter six-cylinder engine with a 194-hp electric motor mounted in the transmission. The large sedan has an electric range of more than 35 miles.

The 750e xDrive will start at $107,995 including shipping.