These troops helped transform a conflict fought initially to preserve the Union into one that destroyed slavery as well.