The 54th Massachusetts Infantry
From the beginning of the Civil War, President Lincoln argued that the Union forces were not fighting to end slavery but to prevent the disintegration of the United States. For abolitionists, however, ending slavery was the reason for the war, and they argued that black people should be able to join the fight for their freedom. However, African Americans were not allowed to serve as soldiers in the Union Army until January 1, 1863. On that day, the Emancipation Proclamation decreed that “such persons [that is, African-American men] of suitable condition, will be received into the armed services of the United States.â€
https://www.history.com/topics/american-civil-war/the-54th-massachusetts-infantry