A gunman had the tables turned against him late Thursday in the Tioga section when he shot at a licensed gun owner who returned fire and critically wounded the assailant, police said.

The licensed gun owner was not harmed.

Police gave this account of the shooting:

At 11:30 p.m., a 19-year-old man who appeared to be drunk or high approached a 25-year-old man and a group of people on the 1400 block of Lenox Street and with slurred speech "ordered them to get off his block."

The 19-year-old then pulled a handgun and fired once in the direction of the older man.

The older man, who has a carry permit, pulled his gun and fired at the shooter once.

The gunman fired one more shot and the older man unleashed three more bullets, hitting the 19-year-old, who stumbled, fell to the ground and then got up and fled on foot.

The licensed gun owner then called 911 and reported the shooting.

The 19-year-old arrived a short time later at Temple University Hospital with gunshot wounds to the neck, arms and abdomen. He was reported in critical condition.

Police recovered the licensed owner's weapon but have not found the shooter's gun.

The investigation is ongoing and police have not yet released the suspect's name.