GREENVILLE, Ohio (AP) — A judge Monday ordered that a 10-year-old boy accused of deliberately setting a fire that killed five people — including his mother and sister — be released from a juvenile detention center to the custody of his maternal grandmother.

"He's also a victim," Darke County Juvenile Judge Michael McClurg said to a packed hearing room, referring to the deaths of family members.

Timothy Douglas Byers had been held at a juvenile detention center in nearby Troy. Coming out of the hearing room, he smiled and waved at relatives who called out his name. The judge restricted the boy to his grandmother's home and said she must obtain alternative schooling for him in this western Ohio city.