French students will soon have to leave their phones at home before heading to school after a new law banning the devices passed on Monday.
The blanket ban, which also prohibits the use of computers, tablets and other internet-connected devices, will come into effect next month when the new school session commences in the country.
Some politicians criticized the legislation describing it as a "publicity stunt", according to a report.
Education Minister Jean-Michel Blanquer has previously said the ban is a matter of public health because children are not playing during breaks anymore. However, the law lets the students use the mobile phones between the classes, but not during the class.
Alexis Corbière, a deputy from the left-wing Unbowed France party, told CNN, "This isn't a 21st century law in our eyes, but a law from the era of news channels and binary debate".
The law is France's bid in the fight against children's smartphone addiction. New York City had a cell phone ban for students in the area - a policy which Mayor de Blasio lifted in 2015.
French lawmakers provided students over the age of 15 an exception, however, each high school is given final authority when it comes to including this age demographic or not. "In reality, the ban has already been made", he added, referring to a 2010 law. It is a fundamental role of education, and this law allows it'. They could easily hide their phones under their desks and use them during lectures.
Almost nine in ten French teenagers aged between 12 to 17 own a smartphone.