Long Beach police were in a brief standoff this morning at an apartment building in Cambodia Town where they believed a man who’d brandished a gun was cornered earlier in the morning.

Police originally believed the man was connected to a deadly shooting that had just happened about a mile away, but they quickly determined that wasn’t the case, according to the department.

Police were investigating the shooting on Dawson Avenue near 10th Street around 7 a.m. when they got a call about a man with a gun  around the same time. An LBPD spokesman said the man was in a car on 16th Street near Walnut Avenue when he pulled alongside another vehicle and brandished a gun.

After crashing into a parked car, the man ran into a gated apartment building on Hoffman Avenue near Anaheim Street, and officers quickly surrounded the complex, shutting down a stretch of Anaheim Street in the process.

By about 8 a.m., the man came outside and was arrested without any more problems, police said.

Authorities did not have many details immediately available on the killing at Dawson and 10th. Police said a man was shot to death after an argument and the suspected killer was still loose.

Jeremiah Dobruck is managing editor of the Long Beach Post. Reach him at [email protected] or @jeremiahdobruck on Twitter.