A young boy was hospitalized following an accidental shooting inside a home in Philadelphia's Olney neighborhood.

Police said a man was playing with a group of children inside a home on the 5500 block of North 4th Street shortly before 8 p.m. on Saturday. At some point the man, later identified as Jerrod Miner, grabbed a gun and accidentally fired it, striking a 4-year-old boy in the hip, police said.

The child was taken to the Einstein Medical Center where he was listed in critical condition.

Miner and a second man fled the scene, police said. Police have not revealed the shooter's relationship to the boy but said he is known to the family. He later turned himself in and was charged with aggravated assault, simple assault and weapons charges.

Investigators also said the boy's parents were inside the home at the time of the accidental shooting.

Online court records don't list an attorney who could comment on Miner's behalf.

There are additional resources for people or communities that have endured gun violence. Further information can be found here.