In the seventeenth century, as sugar became a little more available, people in England and in America ate boiled sugar candies mixed with fruit and nuts. Caramels and lollipops were known in the early eighteen century. By the mid-1800s over 380 factories was built in the United States to manufacture candy. Most of them were producing individual hard candies which were then sold loose. First chocolate factory in the United States was established in 1765.