GARDNER -- The Worcester District Attorney's Office confirmed late Thursday night that 8-year-old Colby O'Brien of Gardner died after an apparent "tragic event" at an after-school program at the Elm Street School in Gardner.

According to a statement issued by Worcester District Attorney spokesman Timothy Connolly, a large television and cart fell on the boy shortly after 4 p.m.

He was transported to Heywood Hospital, where he was pronounced dead, according to Connolly's statement.

A medical helicopter was initially called, but it was unclear Thursday night if O'Brien was transported that way or by ambulance.

The school sent out a reverse 9-1-1 call to parents of students attending the school, telling them there had been a fatal accident involving a student.

Her message did not identify the student or his gender.

Police remained at the scene of the Elm Street School late into the night Thursday, and had the entire front of the school taped off with yellow police tape.

Mayor Mark Hawke, who deferred all comment to the DA's office, told the DA's office school would be open today and there would be grief counselors on hand at the school for students who need it.

Gardner police and fire personnel also directed all questions about the incident to the DA's office.

The school houses 518 students in grades 3 through 5 and it runs an extended-day program from 3 p.m. to 5:30 p.m.

According to a description of the program on the school district's website, the extended-day program offers students a place to take part in supervised activities, games, crafts, indoor and outdoor play, as well as a place to do their homework.

State police detectives assigned to the Worcester County District Attorney's office are investigating.

Follow Katina Caraganis on Tout and Twitter @kcaraganis.