The correct answer is:
D. an increase in the demand for slave labor.
The cotton gin, invented by Eli Whitney in 1793, greatly increased the efficiency of cotton processing, making cotton a more lucrative crop and leading to a greater demand for slave labor to plant and harvest the cotton.