<human>:  Why did child labor become illegal?
<bot>: Child labor became illegal because it was a form of slavery. In the United States, slavery was abolished in 1865. Child labor was a form of slavery because children were forced to work for their parents or other adults.