A former Volkswagen executive has been sentenced to seven years in prison and a $400,000 (£298,778) fine, after admitting he helped the firm evade clean-air laws.Oliver Schmidt, 48, is the second person to receive jail time in the US over the diesel emissions scandal.Volkswagen first admitted in September 2015 that it had used illegal software to cheat US emissions tests. It has spent as much as $30bn to address US claims.US prosecutors say Volkswagen installed special software in certain diesel vehicles that allowed them to perform better during emissions tests than they did under normal driving conditions. VW emissions cheat bill hits $30bnVolkswagen: The scandal explainedVW papers shed light on emissions scandalDiesel cars: What’s all the fuss about?The emissions were sometimes 30 times higher than permitted under US rules.Volkswagen sold almost 600,000 vehicles with the devices in the US between 2006 and 2015, and about 11 million globally. The allegations have also prompted probes in other countries and led to arrests in Germany.Mr Schmidt, who led the firm’s environmental and engineering office in Michigan, learned of the cheating scheme in 2015, according to court documents.His attorney had urged the court to deliver a lesser punishment, saying he had played a minor role in the scheme compared to more senior people at the company.But Michigan-based US District Judge Sean Cox sentenced Mr Schmidt to the maximum sentence proposed by prosecutors, who had already dropped some charges against Mr Schmidt in exchange for the guilty plea. Mr Schmidt, a German national, is one of eight current and former VW officials charged in the US in the diesel emissions scandal.James Liang, a former engineer, was sentenced to more than three years in August.