During the Civil War, black troops were often assigned tough, dirty jobs like digging trenches. Black regiments were commonly issued inferior equipment and were sometimes given inadequate medical treatment in racially segregated hospitals. African-American troops were paid less than white soldiers.