The family of Zach Matla was with the 12-year-old boy Saturday morning when he died at Women and Children's Hospital, according to a family member.
The sixth-grade student at Iroquois Intermediate School suffered a severe head injury Wednesday afternoon when the all-terrain vehicle he was riding overturned as he was attempting to scale a hill in Elma.
The boy was riding with friends on their ATVs when the accident took place at about 5:30 p.m. about a mile from the intersection of Townline Road and Clinton Street, according to the Erie County Sheriff's deputies.
Zach, who was wearing a helmet, was pinned beneath the overturned vehicle, according to deputies. He was taken by Mercy Flight to Women and Children's Hospital for surgery.
Hundreds of people gathered for a prayer vigil for the boy at Elma Village Green on Friday night. Friends of the family described Zach as fun loving and heavily involved in basketball, baseball and hockey.
A GoFundMe campaign was started Friday to support the Matla family.
Luca Amarena, who launched the crowd-funding effort, noted Zach's mother just underwent brain surgery to remove a tumor.
By Saturday afternoon, more than $14,000 had been raised, enough to surpass the $10,000 goal.
Funeral arrangements were incomplete.