Glory (1989) Directed by Edward Zwick
From Wikipedia: Glory is a 1989 American drama war film based on the 54th Massachusetts Volunteer Infantry as told from the point of view of its commanding officer, Robert Gould Shaw during the American Civil War. The 54th was one of the first formal units of the U.S. Army to be made up entirely of African-American men (apart from the officers).
Trivia: Denzel Washington’s performance earned him the Academy Award for Best Supporting Actor.