A New Haven, CT, police officer was shot by a man, and ultimately returned fire, while responding to a car crash Thursday night and the incident was captured by the patrol vehicle’s video system.

In a video released by the Connecticut Inspector General, Officer Chad Curry is attempting to apprehend a man in an orange shirt early Friday morning. Police said he was running away from the scene of a car crash.

As Curry approaches the suspect, the man begins shooting. The officer then gets out of his cruiser and exchanges fire with the man, later identified as 36-year-old Jose Claudio.

Officer Curry was hit in the ear and shoulder. He was treated and released at a local hospital, NBC CT reports.

Claudio is in custody and faces numerous charges, including assault in the first degree on a police officer and reckless endangerment.