I want to know the answer to the following question:
In what year was the cotton gin invented?
All the background I'm provided with is that "Although the city lost the status of state capital to Columbia in 1786, Charleston became even more prosperous in the plantation-dominated economy of the post-Revolutionary years.". Is that enough to answer the question?