PITTSBURG — A teenage boy was shot in the neck Wednesday afternoon and another juvenile who was handling the gun that went off is being sought, police said.

The wounded boy was in critical but stable condition Thursday. Police have not yet released the boy’s age or said if he lived at the residence.

The shooting was reported about 3:30 p.m. Wednesday at a home on Chesapeake Drive.

Capt. Steve Albanese said Thursday that several teenage males were at the home, including one who brought the pistol to show to his friends. He did not live at the home, but was visiting, police said. His age was not released.

While he was showing the gun to the others, it fired, wounding the victim, police said.

The juvenile who brought the gun to the home then fled. Police believe he took the gun with him.

Albanese said detectives are trying to determine if the shooting was accidental or intentional.

The juvenile with the gun is known to police who are trying to locate him.

Check back for updates.