Who was the Commander of the Confederate Army during the Civil War?

General Robert E. Lee was the Commander of the Confederate Army during the Civil War.