When was the cotton boom?

In the late 1700's or early 1800's, as the invention of the cotton gin greatly increased the production and value of cotton. Sorry I can't be more specific of the date though. ^_^"