Two people have been charged with the accidental fatal shooting of a 15-year-old boy Friday in Humboldt Park.

Mario Venegas Jr. suffered a gunshot wound to the head about 1:25 p.m. inside a building in the 2700 block of West Evergreen, according to Chicago Police and the Cook County medical examiner’s office.

He was taken to Stroger Hospital, where he died at 8:58 a.m. Saturday, authorities said. He lived in the 2000 block of West McLean. An autopsy Sunday ruled his death a homicide.

Authorities said Venegas had been handling a gun which belonged to 18-year-old Orlando Gonzalez inside the home of another teenage boy when the weapon went off accidentally.

Gonzalez, of the 2000 block of North Hoyne, was charged with a felony count of aggravated unlawful use of a weapon without a FOID card. The other boy, whose name was withheld because he is a minor, faces of one felony count each of involuntary manslaughter and unlawful possession of a firearm, police said.

Gonzalez was held on a $150,000 bond at a Saturday hearing, according to the Cook County sheriff’s office. His next court date is Aug. 12. Court information for the boy was not immediately available.