Baldwinsville, NY -- A Baldwinsville middle school teacher, who recently sent a link to students that went to a site with porn, thought the website had educational material for a homework assignment, the district announced Friday.

In fact, the website in question had once been educational, but for some reason had been changed to contain pornography, the district said. It was unclear if the site was hacked or changed for some other reason.

The Ray Middle School teacher, who has not been named, will not face criminal charges, but remains on paid leave as the district investigates whether proper procedures and protocols were followed.

“The teacher, using Google Documents, sent students links to websites for the purpose of a homework assignment,” the district said in a news release Friday. “It was determined that one of those links was to a website that was no longer functional as an educational link and contained pornography.”

Onondaga County District Attorney William Fitzpatrick said there was no evidence of criminal activity.

“My office and the (Onondaga County Sheriff’s Office) thoroughly reviewed this matter and found no evidence of criminal intent,” he told Syracuse.com | The Post-Standard Friday afternoon.

But the district still expressed concern that students were exposed to pornography, even if the teacher had no ill intent.

“The district is reviewing all of its internet protocols and safety measures to ensure that our students remain safe,” Baldwsinville Superintendent Matthew McDonald said in the news release.

The district said it would have no further comment on the matter, including when -- or if -- the teacher returns to work.

Thanks for visiting Syracuse.com. Quality local journalism has never been more important, and your subscription matters. Not a subscriber yet? Please consider supporting our work.