(Sweeping of chimneys by boys was not made illegal until 1840.)
This statement highlights a historical shift in labor laws, where sweeping chimneys by young people was once common but later became prohibited.