Besides the obligation, many children had to help support their families financially; another factor that influenced child labour was the demographic changes that occurred in the eighteenth century. By the end of the eighteenth century, 20 percent of the population was made up of children between the ages of 5 and 14. Due to this substantial shift in available workers, and the development of the industrial revolution, children began to work earlier in life in companies outside of the home. Yet, even though there was an increase of child labour in factories such as cotton textiles, there consistently was large numbers of children working in the field of agriculture and domestic production.