Rochester, MN (KROC AM News) - An Olmsted County deputy nearly shot a man who began running at him while armed with a hammer.

The man backed off and was taken into custody and that’s when the deputy determined the man was having drug-related and other issues.

The incident happened Monday at a mobile home in the 7400 block of Highway 63 NE. The deputy was sent there to check a report of a man yelling outside the mobile home. The man had kicked the door open and was inside when the deputy arrived. The deputy told the man to come out. When the deputy saw the hammer, he drew his weapon and told the man to stop and he complied.

The man told the deputy he had heard a woman screaming about snakes inside the mobile home and went in to help. The deputy checked and found no one inside. The man also said he accidentally shot himself in the foot while trying to shoot snakes in his residence. He also said he had been bitten by an alligator.

No snakes or alligators were found.

The 30-year-old man was taken to St. Marys Hospital to have his foot treated. A spokesman says the man has a history of mental illness and methamphetamine use.

News update: Two runaway dogs kill several goats at a Rochester area farm.