Barnstable County is a county located in the U.S. state of Massachusetts. At the 2020 census, the population was 228,996.[1] Its shire town is Barnstable.[2] The county consists of Cape Cod and associated islands (some adjacent islands are in Dukes County and Nantucket County).
Barnstable County was formed as part of the Plymouth Colony on 2 June 1685, including the towns of Falmouth, Sandwich and others lying to the east and north on Cape Cod. Plymouth Colony was merged into the Province of Massachusetts Bay in 1691. – Wikipedia