BOSTON (WHDH) – A former science teacher at Josiah Quincy Upper School in Boston has been indicted by a federal grand jury for allegedly coercing or enticing at least one underage female to engage in sexual conversations online and requesting she produce and send child sexual abuse material of herself.

John Magee Gavin, 35, of Brookline, was indicted on one count of coercion and enticement of a minor; one count of receipt of child pornography; and one count of possession of child pornography.

He is currently in state custody on related charges and will appear in federal court in Boston on July 21.

According to court filings, Gavin is a former teacher at the Josiah Quincy Upper School in Boston. Prior to that, he was a 6th grade teacher at the Academy of the Pacific Rim Charter Public School in Hyde Park and was a paraprofessional with the Brookline Public Schools.

In January, Gavin was allegedly identified as the owner of a Discord account who messaged at least 20 underage females between the ages of 12 and 17 years old located throughout the country, including Georgia, Texas, Tennessee, West Virginia, North Carolina and Florida, as well as the United Kingdom and Canada.

It is alleged that, in these chats, Gavin disclosed that he was a teacher, engaged in sexual conversations and often asked the minors to send him pictures of themselves engaged in sexually explicit conduct – knowing that the children were underaged. He was arrested by local authorities in February and charged in Brookline District Court with enticing a child under 16, possession of child pornography and other offenses.

A forensic review of evidence seized from Gavin’s Brookline residence  allegedly revealed approximately 147 files (94 images and 53 videos) on his iPhone depicting CSAM. It is alleged that the CSAM depicted rape of both female and male minors, ranging in age from approximately five to 17 years old.

Further analysis of Gavin’s Discord account identified numerous chats with underage females in which he allegedly engaged in online masturbation sessions with the minors, solicitated images from and exchanged images with the minors and engaged in sexualized conversations with the minors while he was at school. The chats also allegedly included conversations in which Gavin expressed his sexual interest in certain students at Josiah Quincy. In one conversation, Gavin allegedly discussed his sexual interest in a freshman student at the school where he was employed as a teacher and fantasied about having sex with her