An off-duty police officer who fired a gun at a Deseret Industries has been cleared of any wrongdoing.

SALT LAKE CITY — An off-duty police officer who fired a gun at a Deseret Industries has been cleared of any wrongdoing.

Unified Police officer Brandon Stock was working security at the facility on May 17, when a man trespassed through a gate at the store at about 3 a.m. Stock confronted the man, which led to a physical altercation and at one point, the officer's "gun went off," according to a police report.

There were no witnesses and no one was injured by the stray bullet. The man was later apprehended and questioned and his story matched that of Stock's.

Following an investigation, Salt Lake County District Attorney Sim Gill on Wednesday ruled that the weapon discharge was accidental.