A 15-year-old boy is in custody in connection with a shooting that critically injured a Bethlehem man late Friday afternoon, authorities said.

Bethlehem police were called to the 1100 block of Maple at about 5:30 p.m. for a report of a person that was injured, according to a news release from city police Capt. William Audelo.

When they arrived, police found a 21-year-old man with a gunshot wound inside a residence. He was taken to a hospital with what are believed to be life-threatening injuries, Audelo said.

Police recovered a .22-caliber firearm at the scene. Shortly after that, they found a 15-year-old boy believed to be involved in the shooting and took him into custody, according to Audelo.

Due to the boy’s age, police are not releasing his identity.

Audelo said police continue to investigate the circumstances surrounding the incident.

The shooting on the quiet residential street in the heart of the city drew police to the neighborhood just as trick-or-treating in the city was about to get under way.

No further details were immediately available late Friday night.