Eli Whitney invented the cotton gin in 1794 and is credited with spurring enormous growth in America's cotton industry. The cotton gin sped up the process of extracting seeds from cotton and made the crop viable for farmers and investors. Although the cotton gin was designed to alleviate the intensive work it to took to separate the seeds from the cotton, it had the unintended effect of increasing the number of slaves needed to harvest the cotton crop.