A judge granted a new trial on June 6 and dismissed the conviction of a former Norwich substitute teacher accused of allowing students to view pornography on a classroom computer.

Julie Amero, 40, of Windham, who maintained that the pornographic images popped up on a school computer by themselves, faced up to 40 years in prison after a jury convicted her in January of four counts of risk of injury to a minor.