The 17-year-old was being held at the Middlesex County Juvenile Detention Center awaiting a preliminary hearing before a Family Court Judge.