A southern Indiana police officer and a suspect shot each other, leaving injuries that were not life-threatening Tuesday morning, authorities said.

Cpl. Andrew Byrne was taken to University of Louisville Hospital in nearby Kentucky "and he is expected to recover," the New Albany Police Department posted on Facebook.

"The suspect in this case was also shot and wounded as Cpl. Byrne returned fire after being attacked," the post said.

INDIANA SOLDIER KILLED IN WWII FINALLY IDENTIFIED AFTER 75 YEARS

The suspect, Barry Sowders, 29, of New Albany, has been charged with three counts of attempted murder and resisting law enforcement, the post said. He was treated and released at a Louisville hospital and was awaiting extradition back to Indiana, the post said.

Fort Wayne, Bloomington, South Bend crime

An Indiana police officer and a suspect were both hospitalized after exchanging gunfire.

Byrne was "in good spirits," New Albany Mayor Jeff Gahan said on Facebook.

BODIES OF MAN, 2 CHILDREN FOUND IN INDIANA HOME WITH HIGH CARBON MONOXIDE LEVELS

Indiana State Police said the incident began with a shot fired at a female.

State police Sgt. Carey Huls said there was a brief foot chase after police located the suspect.

CLICK HERE TO GET THE FOX NEWS APP

"As officers pursued, Sowders fired a handgun at two officers, striking Corporal Andrew Byrne. Corporal Byrne then returned fire, striking Sowders," Huls said.

"The officer returned fire and struck the suspect. The suspect escaped to a nearby residence ... he was taken into custody and rushed to the hospital."