Education was not compulsory in Victorian England during the early reign of Queen Victoria. Most poor children worked to contribute to family income rather than attend the few existing church or dame schools. A new law passed in 1870 mandated that a school be established in every town and village, improving access to education. Schools were strict, teaching religious and gender-separated subjects through rote memorization and physical punishment for misbehavior. Conditions remained difficult for many poor students, as reflected in the logbook entries of one Edinburgh school describing student illness, truancy, and inadequate clothing in winter.