Police have arrested a 17-year-old and charged him in a shooting that struck a vehicle last week.

BROCKTON — A teenager has been charged in connection with a shooting last week that left an unoccupied SUV with a shattered window.

Police say detectives have charged a 17-year-old boy, who lives in Brockton but wasn't identified because he's a juvenile, with carrying a loaded firearm without a license, illegal possession of ammunition, assault with a dangerous weapon, discharging a firearm within 500 feet of a building and malicious damage to a motor vehicle.

We can deliver news just like this directly to your inbox. You can sign up for This Just In (a daily 7:30 p.m. newsletter with items we've posted that day), News Alerts (so you don't miss anything important) and more. It's customized to your preferences -- and it'll only take a few seconds.

The teenage boy was arrested Friday in connection with a shooting that occurred last Wednesday morning in broad daylight on North Warren Avenue.

ShotSpotter, the city's electronic gunfire detection system, alerted police to two gunshots in the area of 173 North Warren Ave., at about 10:53 a.m., that day.

Officers responded to the area and located two shell casings on the sidewalk in front of 159 North Warren Ave., which is next door to the address where ShotSpotter had initially indicated. 

Police said last week that they believed the shooter "inadvertently hit the window of an empty SUV that was parked across the street." Last week, investigators could be seen examining an SUV with a broken window parked in the lot for the Superior Baking Co.

No one was injured as a result of the shooting.

365备用网址APPA witness told police at the scene that they witnessed a young man wearing a hooded sweatshirt fleeing from the area on foot shortly after the shots were fired. The witness saw the man run eastbound toward Walnut Street while putting an object into his waistband.

"Thanks to the quick and meticulous work by detectives, the teenage suspect was placed in Department of Youth Services custody 48 hours later," said police spokesman Darren Duarte.

365备用网址APPThe teenager will be arraigned in Brockton Juvenile Court, but the hearing and result aren't public because the suspect is a juvenile.

Senior reporter Cody Shepard can be reached by email at cshepard@abrepalermo.com. You can follow him on Twitter at @cshepard_ENT.