African Americans did serve with the Confederacy. Some went with their masters or were used as labor behind the front lines. They also worked as teamsters and cooks. But for most of the war black men were not allowed to serve as soldiers.