Victorian factories were dangerous places to work, especially for children. Workers breathed in soot, smoke and dust from machines. Children as young as 5 years old worked in cotton mills and coal mines because they were cheap labor and could crawl under machinery. It was not until laws were passed in the 1840s-1870s that child labor was regulated, banning children under 10 from working underground or for over 10 hours per day in an effort to improve dangerous working conditions.