When Petersburg became a major supply center for the newly formed Confederacy and its nearby capital in Richmond, both freedmen and slaves were employed in various war functions.
Once the siege began in June 1864, African Americans continued working for the Confederacy.