DULUTH, Minn. (AP) — A St. Louis County district judge has upheld charges against a Duluth police officer who shot an unarmed man through an apartment door last year.

An attorney for Tyler Leibfried argued the shooting was justified because the officer heard what sounded like gunfire coming from the apartment. Police were responding to a possible domestic violence incident.

Twenty-three-year-old Jared Fyle was struck by gunfire and injured. He told investigators the loud noise captured on the officers’ body cameras was caused by him kicking shut and locking the door, not gunfire.

Leibfried is charged with intentional discharge of a firearm that endangers safety and reckless discharge of a gun within a municipality.