Charleston is the largest city in the U.S. state of South Carolina, the county seat of Charleston County, and the principal city in the Charleston–North Charleston–Summerville Metropolitan Statistical Area. Charleston was founded in 1670 as Charles Town, honoring King Charles II, at Albemarle Point on the west bank of the Ashley River (now Charles Towne Landing) but relocated in 1680 to its present site, which became the fifth-largest city in North America within ten years. It remained unincorporated throughout the colonial period; its government was handled directly by a colonial legislature and a governor sent by Parliament. Election districts were organized according to Anglican parishes, and some social services were managed by Anglican wardens and vestries. Charleston adopted its present spelling with its incorporation as a city in 1783. Population growth in the interior of South Carolina influenced the removal of the state government to Columbia in 1788, but Charleston remained among the ten largest cities in the United States through the 1840 census.