A 16-year-old was arrested Saturday night more than three hours after fatally shooting a man at the Springdale West Apartments in West Long Beach, according to police.

The shooting happened at around 3:22 p.m. in the 3100 block of West Spring Street. When officers arrived, they found an unconscious man suffering from gunshot wounds to the upper body, according to the Long Beach Police Department.

Long Beach Fire Department personnel also responded and transported him to a local hospital, where he died, police said. Authorities identified the victim Saturday as 19-year-old Maywood resident Louis Longeno.

Police said they believed the shooter, who was identified as a 16-year-old boy, was still in the area, so they called in SWAT officers to try to help find and detain him.

Police established a perimeter and told nearby residents to evacuate the area or shelter in place.

“While SWAT personnel were on scene, officers received additional information that the subject involved in the shooting was outside the perimeter and was going to turn himself in at the police station,” the LBPD said in a statement Saturday.

He was subsequently booked into the Long Beach City Jail for one count of murder. No bail was set, police said. The 16-year-old’s name was not released because he is underage.

A helicopter hovered overhead as dozens of neighbors gathered around police tape. There were differing accounts of what happened, with some neighbors saying the shooting was sparked by a dice game.

The motive and events leading up to the shooting are still under investigation.

Detectives expect to present the case early next week to the Los Angeles County District Attorney’s Office.

Editor’s note: This story was updated with new information about the victim and suspect.