Robert Edward Lee (January 19, 1807 – October 12, 1870) was a Confederate general who served the Confederate States of America in the American Civil War, during which he was appointed the overall commander of the Confederate States Army. He led the Army of Northern Virginia, the Confederacy's most powerful army, from 1862 until its surrender in 1865. During the war, Lee earned a solid reputation as a skilled tactician, for which he was revered by his officers and men as well as respected and feared by his adversaries in the Union Army.