qnli question: What was the state capital of North Carolina in 1722? sentence: During colonial times, Edenton served as the state capital beginning in 1722, and New Bern was selected as the capital in 1766.