FRESNO, Calif. (AP) - A judge in central California has sentenced a man who terrorized motorists by randomly shooting at them to 354 years to life in prison.

The Fresno Bee reports Jorge Gracia was sentenced Monday in Fresno.

A jury last month found Gracia guilty of shooting randomly at cars along a highway in six separate occasions.

Most of the shootings last year happened along Highway 145 near Kerman, Fresno. Vehicles were struck by gunfire, but no one was injured.

Prosecutor Katherine Plante says Gracia "was terrorizing the community" and that in one case bullets came a few feet away from a child strapped into a car seat.

Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.