D.C. police have arrested three juveniles in connection with a Saturday night carjacking that left one suspect shot and an officer injured.

Police spokesman Paul Metcalf said officers had been tailing what they believed to be a stolen vehicle down New York Avenue and I-295 when it became snarled in heavy traffic as it tried to exit on Benning Road.

As officers closed in on foot, the driver of the vehicle attempted to turn onto a nearby sidewalk to escape, Metcalf said. That's when one D.C. police officer was struck by the vehicle.

A second officer then fired his gun at the car, striking one of the suspects in the leg, Metcalf said.

The chase ended in the 500 block of 24th Street NE, police said, after the suspects attempted to ditch the car and flee on foot. All three juveniles -- two males and one female -- were apprehended and taken into custody.

Police said the injuries sustained by both the suspect and the officer were not life-threatening.