Joshua W. Bailey, 34, is also accused of being a felon in possession of a firearm, unlawfully discharging a firearm while intoxicated and armed criminal action.

According to court documents, Bailey said he had four or five tequila shots and smoked marijuana during the party at his home. About 8:30 p.m., he called 911 to tell them that his gun had accidentally gone off and he shot a friend.

The friend was taken to a hospital, where he died.

Neighbor Angela Roberts described what she saw Sunday night.

"There were people up here in the parking lot and they were crying, and there was the ambulance, the fire truck and the police cars," she said.

According to court documents, Bailey told investigators he was showing off his gun at the party and didn't think there was a round in the chamber. He said he pulled the trigger, hitting his friend in the back of the head.

Bailey has a previous conviction of possessing a controlled substance in Jackson County.

"There has been a lot of politically charged discussion recently regarding gun rights. This case has nothing to do with that debate," Platte County Prosecuting Attorney Eric Zahnd said. "Personally, I am a strong supporter of the Second Amendment’s right to bear arms. But virtually everyone agrees that only law-abiding citizens should safely and responsibly possess firearms."

He said safe and responsible firearm possession usually doesn't include a party where people have been drinking and smoking marijuana.

"It's a sad reminder about why alcohol and drugs don't mix," he said.

Roberts said her daughter had gone to Bailey's house to watch the Super Bowl last year.

"I'm kind of glad she wasn't there this year," she said.

Bailey is being held in the Platte County jail in lieu of a $500,000 cash only bond.