A man fatally shot two men who were trying to break into his Central Long Beach home early Tuesday morning, authorities said.

Officers were called shortly after midnight to the area of 10th Street and Orange Avenue when a caller reported that he had shot a person who had broken into his home, police said.

Two men, identified as Sergio Pacheco, 25, and Jose Perez, 18, both of Long Beach, were pronounced dead at the scene. Officers found Perez inside home, while Pacheco was found a block away in the street near 11th Street and Gundry Avenue, police said.

Police said Pacheco and one of the residents of the home were at one time associates, but officials did not elaborate on the nature of their relationship.

Pacheco and Perez arrived at the home shortly after midnight unannounced, forced their way inside and assaulted two of the residents, according to police. During the altercation, one resident fired a gun at both men.

Police said the caller was detained at the scene pending the investigation. He was later transported to a hospital for an unspecified non-life-threatening injury.

The residents involved have been cooperating with the investigation, police said. Authorities said they are not releasing the identities of the residents because they are possibly victims of a crime.

The motive for the incident is currently under investigation, police said.

Neighbor Melanie Cuesta, who lives down the street from where the shooting happened said she was out around 12:20 a.m. with her dogs when she saw police lights going off.

Cuesta said she didn’t hear anything, but she said it’s common to have fireworks going on in the area.

Cuesta said the neighborhood sees frequent break-ins, adding that her roommate’s car was broken into last week.

Editor’s note: This article has been updated with more information from police.

Editor’s note: This article has been updated with correct information from police on the location of where the bodies were found.