The changes are intended to put an end to what teachers' unions call the "You can't tell me what to do" culture.
It is also hoped the legislation will help tackle cyber-bullying via mobiles and the internet.
Previously, teachers had been allowed to restrain pupils under common law, with the same authority as parents.
But the new law explicitly states that teachers have the right to physically restrain and remove unruly pupils, and impose detention, including sessions outside school hours and on Saturdays.
Teachers will be able to discipline pupils outside school too - if they see children behaving badly on public transport, for instance.






