A man who worked as a science teacher at a Boston public school pleaded guilty Thursday to federal charges for persuading at least one underage girl to engage in sexual conversations online and send him explicit photos, prosecutors said.

John Magee Gavin, 35, of Brookline, pleaded guilty to one count each of coercion and enticement of a minor, receipt of child pornography and possession of child pornography. He is set to be sentenced on March 12, 2026, U.S. Attorney for Massachusetts Leah Foley’s office said in a statement.

Gavin was indicted in July and remains in federal custody.

Before his indictment, Gavin worked as a science teacher at the Josiah Quincy Upper School in Boston, which serves students in grades 6 through 12. Before that, he was a 6th-grade teacher at the Academy o

See Full Page