Events after the invention of the cotton gin