After the embarrassing and humiliating defeat of the American Civil War, many Confederate soldiers fled the United States and immigrated to Brazil Emperor Dom Pedro II gave the Confederados refuge ironically slavery was still going on in Brazil until it too was abolished in 1888.