DANVILLE, Calif. – Parents are complaining after a San Ramon Valley High school student was recently elected student body president after creating a humorous campaign video vowing to protect his classmates from ISIS.

The student, who was not identified, allegedly produced a campaign video depicting Muslim terrorists with guns and promised to protect students. But the mother of the current student body president thinks the video is sufficient evidence that he doesn’t deserve the post.

MORE NEWS: Know These Before Moving From Cyprus To The UK

Karen Pearce, the concerned parent, contends her daughter was required to sign a waiver promising not to disparage different religions or races while campaigning, and said the student who won the presidency this year violated that rule with the video, NBC Bay Area reports.

“I think it was the work of a young guy, who was trying to do something funny and didn’t really think through what he was doing,” Pearce said. “As parents we work very hard to teach our kids the difference between right and wrong.”

The video, posted to Twitter, showed “a couple of kids dressed up” as “some sort of terrorist thing,” Pearce told ABC 7.

After Pearce led a charge to pressure the district on Facebook and Instagram, officials stripped the boy of his election victory, only to reverse course after the student’s parents threatened to sue the school district.

District officials confirmed to NBC Bay Area that the boy’s family filed an intent to sue the school for violating the student’s free speech rights. District spokesman Elisabeth Graswich said the district was forced acknowledge the student’s first amendment rights and reinstate him as student body president.

“And when students exercise those first amendment rights how it makes other students feel, it’s a classic conflict that we deal with as a school and as a school district,” she said.

MORE NEWS: How to prepare for face-to-face classes

Graswich wouldn’t discuss details of the situation.

“I can’t share any more details other than to let you know the situation has been resolved,” she said.

NBC Bay Area was unable to contact the parents of the student who created the video.

Pearce, meanwhile, is busy explaining to multiple media outlets why she thinks district officials are making a big mistake.

“While I would never deny anybody first amendment rights, I think in this case there may have been a situation where one child’s first amendment rights are superseding the school’s right to maintain that caring and respectful environment,” she said.