Title: Charleston, South Carolina
Passage: Although Columbia replaced it as the state capital in 1788, Charleston became even more prosperous as Eli Whitney's 1793 invention of the cotton gin sped the processing of the crop over 50 times. The development made short-staple cotton profitable and opened the upland Piedmont region to slave-based cotton plantations, previously restricted to the sea islands and Lowcountry. Britain's Industrial Revolution--initially built upon its textile industry--took up the extra production ravenously and it was swiftly Charleston's major export commodity. The Bank of South Carolina, the second-oldest building in the nation to be constructed as a bank, was established in 1798. Branches of the First and Second Bank of the United States were also located in Charleston in 1800 and 1817.
Question: was charleston ever the capital of south carolina
Answer: yes