Who was the military leader for the confederacy?

General Robert E. Lee