Prince George’s County police on Wednesday identified the six-year-old who accidentally shot and killed himself with a gun he found in his Clinton home as Amari Markel-Purrel Perkins.

Police identified the boy a day after they charged a 20-year-old who also lived in the home on Arbutus Lane with reckless endangerment and related weapons counts in the child’s death. Raymond A. Brown, 20, brought the gun into the home and stashed it in a Spider-Man backpack left lying on the floor, police have said. That’s where Perkins found it Monday and used it to shoot himself in the chest, police have said.

Julie Parker, a Prince George’s County Police spokeswoman, had said previously that police would not release the 6-year-old’s name, citing his age and the fact that he was a victim of a crime as reasons. On Wednesday, the police department reversed course and released Perkins’s name.