MANCHESTER, N.H. (AP) — A New Hampshire man was convicted Tuesday of attempted murder and other felonies in the near-fatal shooting of a Manchester police officer last spring.

Jurors deliberated barely two hours before finding Myles Webster, 23, of Litchfield guilty of all five felony charges brought against him in the March 21 shooting of Officer Dan Doherty.

Webster was expressionless as the verdicts were read, but moved his head from side to side as jurors rose to leave the courtroom packed with Manchester police officers.

Webster's lawyers argued he was entangled in a case of mistaken identity. Webster did not testify.

The verdicts came after six days of testimony, during which multiple prosecution witnesses identified Webster as the man Doherty was chasing and the man who wheeled around and fired several shots into Doherty's legs and lower torso.

Besides attempted murder, Webster was convicted of two counts of felony reckless conduct for firing a bullet out of a car on Granite Street and for the gunshots that sailed through a nearby apartment during the Doherty shooting. He also was convicted of resisting arrest and of robbery for demanding a woman's car and keys while fleeing the scene of the shooting.

Assistant Hillsborough County Attorney Karen Gorham said in closing arguments that Webster was surprised Doherty lived to testify against him.