BUDAPEST, Hungary (AP) — Students and a professor at a university in southern Hungary took off their clothes in class to protest the new dress code introduced by the institution's president.

Thursday's protest by around 10 male and female students and their speech instructor at the University of Kaposvar's arts school was prompted by rules announced this week including a ban on dresses showing too much cleavage, miniskirts, excessive makeup and flip-flops.

Some of the students undressed down to their underwear, while others appeared to be naked in a video of the protest posted online by a local news site.

Students said they plan to continue their protest and attend classes in flip-flops and beach towels on Monday, after returning from a public nude beach.

The Registrar told reporters than 130 new students tried to enroll in the speech class, which only seats 35 students.