This is true, but what is even more incredible is that approximately 71% of eligible free Black men of military age in the Northern free states volunteered to serve in the Union army and navy.
Nearly 180,000 Black men served in the Union Army. Another 19,000 in the Navy. Black soldiers accounted for roughly 10% of Union military deaths. A large portion of each were formerly enslaved. I imagine they gave a damn about slavery.