Police in North St. Paul, Minnesota, arrested a man after he attempted to shoot at what he called was a "zombie," according to reports Tuesday. The bullet intended for the zombie struck a man sleeping in his home.

The incident took place Saturday when police responded to a call complaining about a gunshot fired into a house. Authorities found that the bullet passed through a window, ricocheted near the head of the man’s bed and then hit a wall, CBS Local reported.

Officials saw Ryan Mathew Stanislaw, 24, walking outside the house with an AR-15 rifle around his neck. He told police that he was shooting at a “zombie” walking up the road.

“I’m out here making sure my neighborhood is safe,” he told the officers, according to a criminal complaint. “I didn’t see the cops, so I figured I’d do something.”

Police took away his rifle that reportedly had green-tipped Hornady .223-caliber bullets — marketed as zombie-killing bullets.

Stanislaw’s mother said that he did not have any history of mental illness. He was convicted of terroristic threats last month and isn't allowed to own a firearm.