Twenty students at a Texas high school protested their school's dress code on Thursday after about 170 of their peers were suspended for violating the dress regulation rules earlier in the week.

On Wednesday, administrators at the Duncanville High School sent around 170 students home for dress code violations. According to NBC News, Duncanville administrators said violations include piercings, large belt buckles, untucked shirts and different colored jackets. Some students were forced to go home for wearing a gray sweatshirt or not wearing a name tag. Students also aren't allowed to wear clothing that displays logos or designs, and skirts and dresses must be "hemmed at or below the bend of the knee," reports ABC affiliate News 8.

The school's principal Andre Smith says that the dress code crackdown occurred Wednesday as a part of a routine of "enforcement days," which takes place a few times each year. Under the policy, students who break the rules face a one-day suspension, but those who are caught in violation twice are suspended for two days while third time offenders face two days plus a loss of school privileges.

However, students questioned why school officials waited until final exam prep time for the dress code sweep, without giving a fair warning.

"We have exams close to the end of the year, and that's interrupting with our studying time," said student Anthony Caudillo, reports MyFoxDF. "That's what's hard with us because we have to go home and learn everything by ourselves and study on our own without our teachers help."

Other students like Edward Ramirez said that the code "hasn't been enforced all year, and we've actually never been given a warning before this."

Parents like Angela Salerno called the rules are ridiculous, reports NBC News. She said her son was suspended because "He just didn't shave for one day, and this hair stubble is what his suspension letter said. That's ridiculous."