SKOWHEGAN, Maine (AP) — An affidavit says a Maine sheriff's deputy was on the ground when his attacker shot and killed him.

John Williams, of Madison, was charged in the April 25 death of Somerset County Cpl. Eugene Cole in Norridgewock. He has pleaded not guilty to murder.

Information from an affidavit filed in support of a search warrant on Monday says Williams described pulling away from Cpl. Cole. Williams also pulled a pistol from his waistband. The affidavit indicates that Cole retreated backward, tripped and fell to the ground.

The Bangor Daily News reports Williams allegedly told police that he was mad at Cole for arresting his girlfriend a few days earlier.