In the post-Civil War era, many African Americans responded to the hostile environment of the South primarily by:
d. they migrated to the northeast and midwest to work in factories.
This migration was part of the broader movement known as the Great Migration, where many African Americans sought better economic opportunities and less oppressive conditions in Northern cities.