why did african americans move from the rural south to northern cities, beginning in the late 1800s

A.To escape religious persecution

B.to change their identities

C.to live in a place with many different cultures and races

D.to escape discrimination and find better economic opportunities.

D. to escape discrimination and find better economic opportunities.