query: When was Raleigh, NC founded?
passage: Raleigh, North Carolina
Raleigh was chosen as the site of the new capital in 1788, as its central location protected it from attacks from the coast. It was officially established in 1792 as both county seat and state capital (incorporated on December 31, 1792 – charter granted January 21, 1795).[13] The city was named for Sir Walter Raleigh, sponsor of Roanoke, the "lost colony" on Roanoke Island.[14]
passage: Raleigh, North Carolina
Bath, the oldest town in North Carolina, was the first nominal capital of the colony from 1705 until 1722, when Edenton took over the role. The colony had no permanent institutions of government until the new capital New Bern was established in 1743.