CHICAGO (CBS) — Charges have been filed in the shooting of a Round Lake police officer who was shot while intervening in a domestic violence scene, police say.

Alan D. Quintana-Cruz, 23, of Round Lake Beach, has been charged with aggravated battery and disarming a peace officer, both of which are felonies.

READ MORE: Northwestern University Bans All Social Activities At Campus Fraternities Until At Least Mid-October After Reports Of Drugging

Round Lake Beach police responded to a call for a domestic battery in progress in the 100 block of Golfview Drive around 1 p.m. Sunday. Two adult relatives were fighting outside the home, police said.

The first officer arrived and intervened, and one of the two began fighting the police officer. During the fight, the man began grabbing the police officer’s firearm, which was secured in a holster. The gun then discharged in the holster striking the officer in the leg.

READ MORE: First There Were Reports Of Thefts, Now Park Ridge Moves To Replace Rusty, Insecure Mail Box

The officer was taken to a local hospital where he was stabilized in non-life threatening condition.

Quintana-Cruz had an active failure to appear arrest warrant for battery at the time of the incident, police said. He was arrested on the warrant and has been in custody since the incident.

MORE NEWS: American Red Cross Seeking Blood Donations Amid Emergency Blood Shortage

Quintana-Cruz was due to appear in court Tuesday afternoon.