A car full of people attacked and robbed a pedestrian then dragged him for a few seconds before they let him go.

The 17-year-old victim was out walking about 6:30 a.m. Thursday in the 5200 block of San Bernardino Avenue when he heard people yelling from a vehicle that was driving down the same street, according to a Montclair police news release.

The teenager told police that the vehicle followed him as he turned left on Carrillo Avenue and the group pulled up alongside him.

The driver got out of the vehicle while two other people stayed in the car, according to the news release. The man standing outside took out a black handgun and hit the victim twice on the head then took what property the teen had.

The man then pushed the teen toward the car and someone in the back seat grabbed his arm through the window, according to the news release. The driver got back into the vehicle and drove forward while the teenager was dragged for a few seconds.

Eventually, the teenager’s arm was released and the car drove north on Carrillo.