LYMAN, Maine — York County Sheriff Maurice Ouellette said he’s confident a man shot to death by a deputy would’ve harmed officers or family members if deputies had not responded the way they did.

Ouellette on Friday announced completion of an internal investigation into the fatal shooting of 22-year-old Andrew Landry of Sanford on Jan. 15 in Lyman. The attorney general already concluded that the deputy who shot Landry three times was justified in using deadly force.

The attorney general’s report indicated Landry had been exhibiting bizarre behavior at a relative’s. He charged at one of the deputies while brandishing a pair of knives after being hit with a Taser.

Ouellette said that encounters with unstable individuals represent “one of our greatest challenges.” He said the review indicates the department’s training and policies are sound.