Danbury is a city in northern Fairfield County, Connecticut, United States, approximately 70 miles from New York City. Danbury's population at the 2010 census was 80,893. Danbury is the fourth most-populous city in Fairfield County, and seventh among Connecticut cities. The city is located within the New York metropolitan area. The city was named for the place of origin of many of the early settlers, Danbury, Essex, England, and has been nicknamed Hat City, because of its history in the hat industry, at one point producing almost 25% of America's hats. Danbury is home to a regional hospital as well as Western Connecticut State University.