He led his regiment at the Second Battle of Fort Wagner in July 1863. They attacked a beachhead near Charleston, South Carolina, and Shaw was shot and killed while leading his men to the parapet of the Confederate-held fort. Although the regiment was overwhelmed by firing from the defenses and driven back, suffering many casualties, Shaw's leadership and the regiment became legendary. They inspired hundreds of thousands more African Americans to enlist for the Union, helping to turn the tide of the war to its ultimate victory.