A central Pennsylvania man who pleaded guilty to aggravated assault in a shooting that injured a teenager who threw snowballs at his car has been sentenced to 11½ to 23 months in prison.

PennLive.com reported that a York County judge also ordered a mental evaluation of 22-year-old Jerquan Dickson on Monday.

Defense attorney William Graff Jr. argued that his client had no criminal record and no history of violence, and his actions Jan. 24 were out of character.

Witnesses said they saw Mr. Dickson follow the 15-year-old and then heard seven gunshots. Police said Mr. Dickson told them he fired into the air and into the snow. The teenager was struck in the right arm and left thigh.

Judge Michael Bortner said the situation could have been much more serious.