But it was not until 1862, as its own Civil War upended so many issues involving race, that the United States formally recognized Haiti.