In a last-ditch effort to salvage the war, just weeks before Lee would surrender at Appomattox, the Confederacy did approve legislation that would allow Black people to fight for the Confederacy. But by then it was far too late. The war had effectively already been lost.