Updated

Police say a 7-year-old New York City boy brought a gun and ammunition to school in his backpack.

New York Police Department spokesman Paul Browne says it's not clear whether the boy knew it was inside, or whether it was stashed by someone at his home.

Police say his mother learned the gun was inside and told officials at the Queens elementary school that her son had a dentist appointment. She then asked him in private about the weapon. The boy apparently also brought a flare gun with him and told his mother he'd given the weapon to a friend.

The school was locked down. The friend was found with the flare gun. The backpack was searched and a semi-automatic pistol was found.

The investigation continues; no charges were filed.