It’s all fun and games until you get charged with a felony for illegally changing your teachers screen saver to men kissing.

HOLIDAY — A middle school student who said he was just trying to play a prank on a teacher he didn’t like was charged with a cybercrime Wednesday after authorities said he hacked into his school’s secure computer network.

The Pasco County Sheriff’s Office has charged Domanik Green, an eighth-grader at Paul R. Smith Middle School, with an offense against a computer system and unauthorized access, a felony. Sheriff Chris Nocco said Thursday that Green logged onto the school’s network on March 31 using an administrative-level password without permission. He then changed the background image on a teacher’s computer to one showing two men kissing.

One of the computers Green, 14, accessed also had encrypted 2014 FCAT questions stored on it, though the sheriff and Pasco County School District officials said Green did not view or tamper with those files.

“Even though some might say this is just a teenage prank, who knows what this teenager might have done,” Nocco said.

Read more: Tampa Bay Times