YANKTON, S.D. (KELO) — One man was arrested in connection to a shooting that left another man dead in Yankton over the weekend.

Court documents say alcohol played a role in the deadly shooting.

20-year-old Cody Auch is accused of manslaughter and made his first court appearance this morning.

An affidavit says Auch went to the hospital with the victim early Sunday morning and told emergency staff that it was an accidental shooting.

When an officer arrived, he gave Auch a preliminary breath test, which came back at point 1.89.

Witnesses told investigators that Auch was showing off a gun and it went off when he was holding it.