This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

EL CAJON, Calif. — Four students were detained and released Monday, according to a Grossmont Union High School District official, after authorities responded to students protesting on the school’s campus in El Cajon.

The protest was about the school’s dress code, said Collin McGlashen, a public information officer for Grossmont Union High School District.

“When the lunch bell rang, many students refused to return to class,” McGlashen tweeted. “Based on the early information we have gathered, the event escalated…including apples and water bottles being thrown.”

McGlashen said law enforcement was required in order to calm the situation and keep students safe.

“Students are safe,” he said. “Law enforcement remained on campus out of an abundance of caution as the school day continued.”

SkyFOX was over the scene where students could be seen rallying on campus and carrying a sign.