One result of the invention of the cotton gin was..

A. higher prices for cotton.
B. better-quality cotton.
C. a decrease in the number of enslaved workers needed.
D. an increase in the demand for slave labor.