qnli question: What was the state capital of North Carolina in 1722? sentence: Officially established in 1792 as both county seat and state capital, the city was named after Sir Walter Raleigh, sponsor of Roanoke, the "lost colony" on Roanoke Island.