Hampshire County, Virginia was formed in 1753 from Frederick County, Virginia. In 1863 it went to West Virginia.