RAPID CITY, S.D. (AP) — A man shot by a Rapid City police officer who responded to a shooting near a homeless shelter is dead.

The state attorney general's office says 44-year old Earl Hicks, of Rapid City, was pronounced dead at a hospital shortly after the incident Sunday afternoon outside the Cornerstone Rescue Mission.

Police say the unnamed officer shot Hicks after Hicks threatened the officer with a handgun. The state Division of Criminal Investigation is looking into the matter, which is normal procedure.

Police say the person whom Hicks allegedly shot is expected to survive.

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

More From KXRB