The correct response is:
the Union winning the Civil War, ultimately abolishing slavery within the whole country.
The Thirteenth, Fourteenth, and Fifteenth Amendments were added to the Constitution to address the issues surrounding slavery and the rights of formerly enslaved individuals following the Union's victory in the Civil War.