He invented the cotton gin, a machine that greatly accelerated the speed of the process of removing seeds from cotton fibers. This helped to turn this industry into America's leading export. Due to problems with the patent, the cotton gin did not give Whitney too much profit. Worse still, the invention of the machine did not do much in the efforts to abolish slavery, as slaves continued to be employed in its use.