RAPID CITY - A Rapid City police officer who shot and wounded a man who allegedly threatened officers with a butcher knife has been cleared of any wrongdoing.

Attorney General Marty Jackley says a Division of Criminal Investigation probe concluded that Officer Jerry Moore was justified in shooting 20-year-old Elijah White Magpie on Feb. 21.

Authorities allege that White Magpie threw a rock through a window at the city library, shattered a window in a parked van and threatened the officers.

He has pleaded not guilty to attempted murder, aggravated assault on a police officer and intentional damage to public and private property. He could face more than 50 years in prison if convicted.

Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.