By Steve Tawa

PHILADELPHIA (CBS) — Pennsylvania will receive a more than $30 million portion of a settlement with Volkswagen addressing environmental harm caused by the automaker’s emissions device on their diesel vehicles.

Pennsylvania Attorney General Josh Shapiro says his prosecutors showed the serious harms caused by Volkswagen’s emissions device, and, in his words, its “conscious cheating that resulted in excessive, illegal amounts of pollutants fouling the air across the Commonwealth.”

READ MORE: Triple Shooting In Philadelphia Leaves Man Dead, 2 Women Coming Out Of Church Injured, Police Say

It’s part of a $157 million settlement agreement between the automaker and the Attorneys General of 10 states, including Pennsylvania.They contend VW used software to beat the states’ stricter emissions tests in diesel vehicles.

READ MORE: Philadelphia Police: Man Shot Multiple Times, Killed In Mill Creek

ALSO READ: PA House Passes GOP Budget Wolf Calls A ‘Good Starting Point’

Shapiro says Pennsylvanians purchased or leased 23,000 Volkswagen vehicles “on the promise they were good for the environment, and the opposite was true.”

MORE NEWS: Four Children Among Five Killed In Pottstown Home Explosion, Police Say

The Department of Environmental Protection will decide how best to use the settlement funds.