During colonial times, Edenton served as the state capital beginning in 1722, and New Bern was selected as the capital in 1766