A York-area man attacked a state trooper, overpowering him until the trooper shot the man once in the chest, according to police, who said the man has "violent tendencies."

Joshua M. Harding, 30, of the York area, was flown to York Hospital by medical helicopter after Monday evening's altercation inside 312 E. Middle St. in Hanover.

Harding was in serious condition Tuesday afternoon, a hospital spokeswoman said.

A state trooper and a member of a drug task force went to the home about 6:30 p.m. to serve drug-related arrest warrants on a man and woman who live there, according to Trooper Rob Hicks, a state police spokesman.

The York County Drug Task Force was not involved, according to Kyle King, spokesman for the York County District Attorney's Office.

Harding was already inside the home and became combative with the trooper, Hicks said.

Overpowered: Harding hit the trooper in the head and body multiple times, overpowered him and took him to the ground, according to Hicks.

"In an attempt to stop the assault, the trooper shot Harding in the chest one time," Hicks wrote in an email. "After the shooting, officers rendered first aid to Harding and called 911."

The trooper, whose name has not been released, was treated at a local hospital, where he received three staples to his head, Hicks said; the trooper also suffered injuries to his face and hand.

The trooper is on administrative leave while the shooting is being investigated, Hicks said.

At the time of the confrontation, the trooper was unaware Harding was wanted on a parole violation, according to Hicks, who said the underlying case for that alleged violation had charged Harding with illegally possessing a firearm.

'Violent tendencies': Harding's arrest warrant cautioned law enforcement that he has "violent tendencies, is known to abuse drugs and is an escape risk," Hicks said.

York County court records show that in July 2010, Harding pleaded no contest to being a convicted felon in illegal possession of a firearm. He was sentenced to 2-1/2 to five years in prison.

After the shooting, police arrested the two residents with the drug-related arrest warrants, police said.

The shooting is being investigated by state police and the York County District Attorney's Office.

District Attorney Tom Kearney referred all comment to state police.

-- Staff writer Liz Evans Scolforo can also be reached at levans@yorkdispatch.com.