Production capacity in Britain and the United States was improved by the invention of the cotton gin by the American Eli Whitney in 1793. What American invented the cotton gin?