BATON ROUGE, La. (AP) — A 28-year-old Baton Rouge man has been sentenced to five years in prison and ordered to undergo psychological and substance abuse treatment for firing randomly at three occupied vehicles in the pre-dawn hours of Oct. 12, 2010.

The Advocate reports Jason Robert Wyrick pleaded guilty in June to charges of aggravated assault with a firearm, aggravated criminal damage to property and illegal use of weapons.

Wyrick apologized Tuesday to the victims, who were not in state District Judge Bonnie Jackson's courtroom.

Jackson ordered Wyrick to pay $2,800 in restitution and a $1,000 fine.

He also will be placed on active supervised probation for five years upon his release from prison.

No one was hurt in the attacks.