How did the development of the factory system encourage urbanization? (1 point)

A. Manufacturers produced goods to export overseas

B. Workers moved along rivers to have quick transportation to factories

C. Labor unions were formed to protect mills

D. Workers moved closer to the factories they worked in

D. Workers moved closer to the factories they worked in