A 20-year-old man has been charged with putting a loaded weapon within reach of a 6-year-old who found the gun Monday and accidentally shot and killed himself, Prince George’s County police said.

Police said that Raymond A. Brown stashed the revolver in a children’s Spiderman backpack in a Clinton area home where he stayed. The boy pulled the gun from the backpack, which was on the floor, and shot himself in the chest Monday afternoon, police have said.

The boy, a first-grader who lived in the Arbutus Lane home with his great-grandmother, died soon after. Police on Tuesday said they would not release the child’s name.

Brown has been charged with reckless endangerment, allowing a child access to a firearm and possession of a firearm by a minor, police said.

John Erzen, a spokesman for the Prince George's County State's Attorney's Office, said the 20-year-old was initially held on $45,000 bond.

This Post has been updated.