Eli Whitney was the inventor of cotton gin. He applied a patent for the invention to protect it from infringement. This covered the acts of changing any interchangeable part in the invention. The cotton gin was one of the key inventions that spurred the Industrial Revolution.