A man ended up hospitalized and then arrested after a struggle with a security guard ended up with him being accidentally shot, according to Long Beach police.

Police said the situation unfolded at about 1:30 a.m. Sunday near the corner of Linden Avenue and Broadway in Downtown Long Beach.

That’s where the man was with a group of people who got into a “verbal altercation” with another group, according to the Long Beach Police Department.

A security guard noticed the man was armed, and, “During an attempt to disarm him, the firearm discharged,” police said.

Everyone fled before officers could get there, according to the LBPD, but police soon got word about a man arriving at a nearby hospital to get treatment for a gunshot wound to the upper body.

“It was determined he was the suspect from the incident, and he was arrested,” police said. “No other injuries were reported.”

Jeremiah Dobruck is executive editor of the Long Beach Post where he oversees all day-to-day newsroom operations. In his time working as a journalist in Long Beach, he’s won numerous awards for his investigative reporting and editing. Before coming to the Post in 2018, he wrote for publications including the Press-Telegram, Orange County Register and Los Angeles Times. Reach him at [email protected] or @jeremiahdobruck on Twitter.