CAMDEN, N.J. (AP) — A New Jersey man was charged Thursday with shooting a police officer in the thigh at close range after a struggle while he was trying to run away from him.

Camden County police say the officer approached three people who were acting suspiciously just after 10 p.m. Wednesday in Camden when one ran away. Officer Patrick O'Hanlon caught the suspect, who pulled out a gun and fired during a struggle, Police Chief Scott Thomson said.

Investigators believe the gun jammed as the officer fought with the suspect, preventing him from firing a second shot, Thomson said. O'Hanlon was listed in stable condition.

Delronn Mahan, 19, of Lindenwold, was charged with attempted murder, aggravated assault, weapons charges and resisting arrest, the Camden County prosecutor's office said.

Mahan has been arrested 10 times since turning 18, Thomson said. It wasn't immediately known if he had an attorney to comment on his behalf.

Fellow officers applied a tourniquet to the wounded officer's leg before rushing him to a hospital.

"They responded heroically," Thomson said. He said he was told by a trauma surgeon that the officer might have been in much worse shape if not for the quick response.

The officer was listed in stable condition. Thomson said the bullet struck a vein but did not hit any bones or major arteries.

"The trajectory of the bullet was very fortunate," Thomson said.

The officer did not fire his weapon, and Mahan was uninjured. Thomson said Mahan's gun was recovered at the scene.

___

This story has been corrected to show that the police chief's name is Scott Thomson, not Thompson.