(NYDAILYNEWS) — This was no biology lesson.

Sexually explicit photographs of a Pasadena, Calif., high school teacher were emailed to nearly 300 students and staff members after police say his email account was hacked.

The four nude photos of popular John Muir High School science teacher Richard Rose popped up in 287 inboxes July 10, with the subject line “enjoy,” KTLA reported.

“Essentially the teacher is a victim,” Lt. Ed Calatayud told the station. “The teacher’s (school district) email account was essentially hacked, and unlawfully used for the purpose of sending out these photos.”

Note: Read our discussion guidelines before commenting.