A divided federal appeals court panel has ruled that a central Pennsylvania school violated a student’s rights when it kicked her off the cheerleading team after she posted a Snapchat message saying, among other things, “fuck cheer.”

Eyeing school discipline over social media posts, and when they run afoul of constitutional free-speech protections, a three-judge panel of the U.S. Court of Appeals for the Third Circuit granted summary judgment Tuesday in favor of the student who challenged the school’s decision.