Cesar Lopez, a 53-year-old grandfather, was taken into custody by the San Bernardino County Sheriff’s Office for his role in a fatal shooting that occurred on July 20.

The incident began when a nearby neighbor, Bubba McBath, heard screams coming from Lopez’s residence. While the neighbor wasn’t clear on exactly what was happening, his neighbors were yelling to call 911. Police were alerted about a medical emergency at Lopez’s home, and responding authorities discovered a young toddler critically injured with a gunshot wound at the scene.

The two-year-old female was rushed to a local hospital, but she tragically died from her wounds less than an hour later. The distraught family explained the incident as a tragic freak accident, and alleged that the toddler’s four-year-old cousin was the one who discharged the deadly firearm.

Police later confirmed that both children lived in the home, and multiple adults were present at the residence when the fatal shooting occurred. Sadly, the 53-year-old grandfather clearly left his firearm in an unsecured location where the four-year-old toddler was able to find it. Investigators are concerned that this level of negligence may amount to child endangerment. After questioning the family, police also realized that Lopez is a felon who should not even be in possession of a weapon.

As a result, the San Bernardino County Sheriff’s Office decided to press charges on the grandfather. Although the suspect clearly didn’t wish harm on the children, this situation should have never happened. Lopez is being charged with the unlawful possession of a firearm and child endangerment.