Thousands of African Americans enlisted to fight for the Union in the days following the Emancipation Proclamation. By the end of the war, around 186,000 African American soldiers had answered the call to fight. One of the first all-black units, the 54th Massachusetts Regiment, led an attack on Fort Wagner in Charleston Harbor in 1863, engaging in brutal hand-to-hand combat despite the difficult conditions, and while they failed to take the fort, their heroism improved perceptions of African American soldiers and encouraged more to enlist.