DETROIT (Reuters) - Volkswagen AG VOWG_p.DE unit Electrify America said on Monday that it plans to install 2,800 electric vehicle charging stations in 17 of the largest U.S. cities by June 2019.

A Volkswagen logo is pictured at the International Auto Show in Mexico City, Mexico November 23, 2017. REUTERS/Henry Romero

The charging stations will be located at roughly 500 sites, with around 75 percent of them at workplaces and the rest at multifamily dwellings such as apartment buildings.

The German automaker has agreed to spend $800 million in California and a total of $2 billion nationwide on clean car infrastructure as part of its agreement after admitting to diesel emissions cheating.

“One of the biggest barriers to the mass-market adoption of electric vehicles is access to chargers,” Mark McNabb, chief executive officer of Electrify America, said in a statement.

Major automakers such as General Motors Co GM.N and Ford Motor Co F.N have announced plans to launch whole families of electric vehicles in the next few years in a direct challenge to money-losing Tesla Inc F.N which is struggling to get its more affordable, high-volume Model 3 released and recently reported its largest-ever quarterly loss.

One problem the auto industry must overcome for mass adoption of electric vehicles is a lack of national charging infrastructure for use by consumers.

Electrify America said it has selected charging station companies SemaConnect, EV Connect and Greenlots to install them.

“There hasn’t been a significant catalyst yet for ramping up the number of charging stations,” Scott Fisher, Greenlots’ vice president of market development, told Reuters. “This is an unprecedented opportunity to help create the electric vehicle infrastructure we need across the U.S.”

The diesel emissions scandal has so far cost Volkswagen as much as $30 billion.

In March, the German automaker pleaded guilty to three felony counts under a plea agreement to resolve U.S. charges that it installed secret software in vehicles in order to elude emissions tests.

Earlier this month, U.S. VW executive Oliver Schmidt, a German national, was sentenced to seven years in a U.S. prison for his part in the scheme.