GREENVILLE, S.C. (AP) — Police in South Carolina say the baby sitter of a 4-year-old child who accidentally shot himself has been arrested.

News outlets report that Greenville police say Lydia Riley was arrested and charged with illegal neglect of a child after the boy shot himself in the hand at a home Aug. 1.

Police say the child had grabbed a pistol from a kitchen table.

Greenville Police Officer Gilberto Franco says the boy was taken to the hospital. Authorities say the injury was not life-threatening.

Police say Riley was caring for the child and was getting groceries from her car when the shooting happened.

Two other children were there when the shooting occurred.

It isn’t immediately clear if Riley has an attorney.

Copyright 2023 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Join our Newsletter for the latest news right to your inbox