Legislation that regulated working conditions in factories and restricted the employment of children.