Robert E. Lee was a Confederate general during the American Civil War. He was born in 1807 in Virginia to a prominent family and attended West Point, graduating without demerits. During his military career, he fought in the Mexican-American War and initially opposed secession from the Union. However, when Virginia seceded, he resigned his commission in the U.S. Army to defend his native state, becoming the senior military advisor to Jefferson Davis and the commander of the Army of Northern Virginia. He is remembered as one of the primary commanders of the Confederate forces during the Civil War.