By the 1830s schooling was made available to all children but it was still not compulsory. The government established non-paying schools as they believed that educating children would produce a more orderly, well-behaved and less ignorant society and would decrease crime.