A Baltimore cop who was accused of shooting another man six times in York Township was acquitted of the most serious charge against him.

John E. Torres, 35, was found not guilty Friday in York County Court of one count of criminal attempt at first degree murder.

John E. Torres.

But the same jury convicted him of aggravated assault.

The York Area Regional Police Department filed charges against Torres in April 2014 after they say he shot the victim, David Hohman, whom he feared was coming to kill him for exchanging text messages with his wife.

Charging documents indicate the incident occurred like this:

On April 29, 2014, Torres called 911 and said he shot a man in the parking lot of 333 Brentwood Drive. Police arrived and found a wounded Hohman inside his car and rushed him to the hospital.

Torres told police Hohman had threatened him about a relationship that Torres had with Hohman's wife, adding Hohman sent several text messages to Torres, saying he would show up at his home and that he was "not someone to [expletive] with."

Torres told police he and Hohman knew each other from an off-duty job he had providing security at a grocery store, leading him to become friends with Hohman's wife.

Just prior to the shooting, a mutual friend told Torres that Hohman had texted him a picture of his car outside of Torres' apartment.

Torres left for work, but later returned to his apartment to retrieve his contact lenses.

He parked in the fire lane and went inside. When he came back outside, Torres told police he saw Hohman driving toward his car.

That's when he told police he started shooting because he thought Hohman had a shotgun and was going to kill him.

He fired his glock firearm, emptying the clip. Hohman was struck six times with several rounds hitting his chest.

Torres is an 11-year veteran of the Baltimore Police Department and was suspended without pay after the shooting.

He is scheduled for sentencing Nov. 29.