A suspect is in custody after shooting an officer on the south side Saturday evening.

A suspect is in custody after shooting an officer on the south side Saturday evening.

A man was sitting in his car in the 8700 block of Carver Drive around 7:50 p.m. with a gun to his head, according to police. When officers tried to negotiate with him, he reportedly got out of the car still holding his gun.

"Officers were giving him verbal commands, trying to talk to him, to get him to drop the weapon,” explained IMPD Deputy Chief Val Cunningham.

When that didn't happen, officers tased him. While being tased, his gun went off, hitting Donald Neal, an eight-year IMPD veteran officer. The bullet entered in the back of Neal's leg and went all the way through, causing what police called a "significant" but not life-threatening wound. Officer Neal is assigned to the Southeast District Middle Shift. The officer will have to undergo surgery but is expected to make a full recovery.

The suspect was immediately taken into custody. The injured officer was taken to the hospital in good condition and is expected to be okay.

“We had a distraught individual who had every intention of taking his own life and because of the efforts of our officers that did not happen. His life was saved. Unfortunately, our officer took a bullet in the process.”

#BREAKING: UPDATE Our officers saved a life today and one of officers sustained a gunshot injury as a result. #Thankful — IMPD (@IMPD_News) July 17, 2016

Later, police said the suspect would be taken to the hospital and questioned. At last check, authorities could not confirm if the suspect will face any charges.

"We’re out here to save and preserve life. It doesn’t necessarily mean that there was an intention to shoot that officer, so that’s something that the investigation will yield,” said Cunningham.