A school which has banned pupils from spending too much time in the toilets was forced to call the police after female students staged a rowdy protest.
More than 40 girls protested over new rules regarding toilet access which led Bedale High School, in the Yorkshire Dales, to call the police.
The students started the protest in the female toilets and live streamed it on social media.
The school, which has 580 pupils, has introduced new rules to only allow pupils access toilets in break times.
I believe that this humiliating and undignified and is a breach of human rights to be denied access to toilets at any other time unless you have a medical need, and totally ridiculous to say that you cannot go to the toilet after you have had lunch.
One parent, who asked not to be named, posted about the new rules on Facebook yesterday.
She wrote: "Bedale High School toilet access. I really hate to put this on Facebook but I wondered if anyone else is having issues with the High School refusing access to toilets? I have recently complained to the school about their new rule which ONLY allows access to toilets between 11.05am and 11.25am, and 12.25pm and 12.45pm.
"I believe that this humiliating and undignified and is a breach of human rights to be denied access to toilets at any other time unless you have a medical need, and totally ridiculous to say that you cannot go to the toilet after you have had lunch. I have complained to the headteacher who has today sent me a letter stating that the rule will remain."
Another parent said her daughter stayed in class late to do some extra work and because of this she was refused access to the toilet during lunch.
North Yorkshire Police were called by teachers to attend.
A spokesman said: "North Yorkshire Police was alerted to a protest involving students at Bedale High School this morning.
"PCSOs attended the school grounds and, after making enquiries, advised staff that this was not a police matter."
The school said it had introduced new rules to improve teaching.