During most of the British colonial period, slavery existed in all the colonies. Slaves in the North usually worked as house servants, artisans, laborers, and craftsmen. Most were in cities. Many men worked on the docks and in shipping. In 1703, more than 42 percent of New York City households had slaves. New York City had the second-highest proportion of slaves of any city in the colonies after Charleston, South Carolina. Slaves were also used as agricultural workers in farming communities. This included areas of upstate New York and Long Island, Connecticut, and New Jersey. By 1770 there were 397,924 Blacks in a population of 2,170 million. They were not spread out evenly. There were 14,867 in New England where they were 2.7% of the population; 34,679 in the mid-Atlantic colonies where they were 6% of the population (19,000 were in New York or 11%); and 347,378 in the five southern colonies where they were 31% of the population.