The cotton gin was the invention that caused the demand for slaves because made it so cleaning cotton was easier and faster to do. In the United States, this increased dramatically. Since there were lots of slaves, it improved the ease so cotton can then be produced.