Police have arrested a 31-year-old man after they say he shot out of his car on two occasions.

Randy Sparrow, of Southeast, DC, was arrested and charged on July 10.

Around 2:30 a.m. on July 8, police said Sparrow began shooting at a person from his vehicle into the person's car. Sparrow fled the scene after, and the victim drove himself to a local hospital for treatment of a non-life-threatening injury.

On July 10, at 2 a.m., Sparrow was driving when police say he shot a gun, hitting a DC police cruiser with officers inside. When he tried to flee the scene, he crashed into another vehicle. He fled the scene on foot, but the gun was recovered at the scene.

Sparrow was initially charged with assault with a dangerous weapon, carrying a pistol without a license, unregistered ammunition and unregistered firearm. After a further investigation following his arrest, Sparrow was charged with assaulting a police officer while armed and leaving after colliding.