The stunt also drew attention away from the main reason students were meeting Miss America in the first place, a message Farves said was more serious.

"I did kind of overshadow what she was saying," he said. "She was saying a really strong message about diversity and most of the kids were focused on what I had just done."

The school says students are disciplined for breaking rules and this incident is no different.

Davuluri was at the school as the keynote speaker at the Diversity Celebration, an eighth-annual event that featured her address, cultural foods and a variety of vocal and dance performances. She also spoke about the importance of science, technology, engineering and math studies or STEM.

Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.