The correct choice is:
To resolve a shortage of workers.
The slavery industry in the colonies was largely created to address the labor shortages, particularly in agricultural sectors where there was a high demand for labor to cultivate crops like tobacco, rice, and later cotton.