Robert E. Lee (1807 to 1870) was the most prominent Confederate general of the American Civil War (1861 to 1865), who commanded the Army of Northern Virginia for much of the war and was named general-in-chief of all Confederate forces in 1865. Lee was beloved by his men, leading them to a string of brilliant victories in the campaigns of 1862. His defeat at the Battle of Gettysburg (1 to 3 July 1863) is often considered a turning point in the war, since after that, Lee always had to stay on the defensive. His surrender at Appomattox Court House on 9 April 1865 is often regarded as the end of the war. Today, Lee is certainly one of the best-known and most controversial military figures in US history.

Robert Edward Lee was born on 19 January 1807 at his family's estate of Stratford Hall in Westmoreland County, Virginia. He was a scion of the Lee family of Virginia, one of the most prominent planter dynasties in the commonwealth, whose members included two signers of the Declaration of Independence. His father, Henry Lee III (1756 to 1818), had won renown as a war hero during the American Revolution. Better known as 'Light-Horse Harry' Lee, he had commanded an elite legion of the Continental Army and had gone on to serve as governor of Virginia from 1791 to 94. But by the time of Robert's birth, Henry Lee had fallen on hard times. He had lost a fortune on bad land speculations, which left him deeply in debt and even led to a year-long stint in debtor's jail. His situation worsened in 1812, when 'Light-Horse Harry' was beaten within an inch of his life in a riot in Baltimore. He decided to go to the West Indies both to recuperate his health and escape his creditors. He would never return, dying in Georgia on 25 March 1818.

With the death of his father, Robert was left to care for his ailing mother, Anne Hill Carter Lee, often helping her run the household. He received a basic classical education at Alexandria Academy, but, thanks to his father's financial mismanagement, prospects for postgraduate advancement were limited. He decided to join the army and, in June 1825, entered the prestigious US Military Academy at West Point as a cadet. He was a diligent student, particularly in the field of mathematics, and graduated second in his class in 1829, breveted as a second lieutenant in the US Army Corps of Engineers. While awaiting his first assignment, he returned to Virginia, only to find his mother was on her deathbed – he was by her side when she died on 16 July 1829. This was undoubtedly a bittersweet time in Lee's life, as that same summer, he began courting Mary Anna Custis (1807 to 1873), a great-granddaughter of First Lady Martha Washington. He had known her since childhood, and though Mary's father initially disapproved, the couple were married on 30 June 1831 and would ultimately have seven children.

In August 1829, Lee received his first military assignment to Cockspur Island, Georgia, where he helped construct a fort to defend the Savannah River. Over the next decade and a half, he worked on similar engineering projects across the country, helping to strengthen Fort Monroe in Virginia and overseeing the construction of a harbor in St. Louis. The work was dull, offered little chance for advancement, and frustrated Lee because it often took him away from his family. He considered leaving the army almost every year and wrote to his wife that "I would advise no young man enter the army" (quoted in Encyclopedia Virginia). Nevertheless, the sociable, courteous Lee made a strong impression on everyone he met. Handsome and robust, with black hair and dark brown eyes, he struck many as the very image of a Southern gentleman, with one admirer referring to him as "the noblest-looking man I ever saw" (quoted in Freeman, 114).

In May 1846, the monotony of life in the peacetime army was interrupted by the outbreak of war – rising tensions between the United States and Mexico over the US annexation of Texas, as well as provocations by the administration of President James K. Polk (served 1845 to 1849), had led to bloodshed along the Rio Grande, kicking off the Mexican-American War (1846 to 1848). Although Lee did not approve of the war itself, he looked forward to the opportunity to win advancement on the battlefield. In March 1847, he landed outside Veracruz, part of the 10,000-man army commanded by Gen. Winfield Scott (1786 to 1866). Now a captain, Lee took part in several vital reconnaissance missions, helping to map out routes for the army to Mexico City. On one such mission, he narrowly avoided capture, hiding behind a log as Mexican soldiers conversed with one another several feet away. He took part in the Battle of Cerro Gordo (18 April) and the Battle of Chapultepec (13 September), and emerged as Gen. Scott's favorite officer; years later, Scott would refer to him as "the very best soldier that I ever saw in the field" (quoted in Freeman, 76).

Lee's exploits won him the respect of his fellow soldiers and two brevet promotions, though he remained an obscure figure outside the army. After the war, in 1852, he was nominated as the next superintendent of West Point. Though he believed himself to be underqualified, Lee accepted, and spent the next few years improving the courses and enforcing discipline at the military academy. Among the cadets who graduated during his superintendency were future Confederate generals John Bell Hood (1831 to 1879) and J. E. B. Stuart (1833 to 1864), as well as Lee's oldest son, Custis Lee (1832 to 1913), who graduated first in his class. In 1855, Lee re-entered active service as a lieutenant colonel in the newly formed 2nd Cavalry Regiment, stationed in Texas. In 1857, upon the death of his father-in-law, George Washington Parke Custis, Lee took a two-year leave of absence to return to Virginia and help settle the will. His wife had inherited the great Custis family estate of Arlington as well as its landholdings and its hundreds of slaves, leaving Lee to turn his attention toward farming.

In his will, Custis had stipulated that all his slaves were to be freed within five years of his death. While Lee interpreted this to mean he could keep them enslaved for the entire five years, the slaves rejoiced, believing they were already free; when they learned that Lee had no intention of emancipating them, they began running away from Arlington in large numbers. Lee responded by hiring out many of the Arlington slaves, separating them from their families, and even filed petitions to keep some of them enslaved indefinitely. It was only after the courts ruled against him that Lee freed the Custis slaves. Lee's attitude toward the institution of slavery was a contradictory one – though he claimed to regard it as an evil institution, he believed in White supremacy and thought that some Black people benefited from being enslaved. In his own words:

The blacks are immeasurably better off here than in Africa, morally, socially, & physically. The painful discipline they are undergoing is necessary for the instruction of their race & I hope will prepare & lead them to better things. How long their subjugation may be necessary is known & ordered by a wise Merciful Providence.

(quoted in Freeman, 92)

Lee was not the only one grappling with the issue of slavery in the 1850s. Indeed, the sectional dispute between the 'free states' of the North and the 'slave states' of the South was already eating away at the soul of the nation and threatening to devolve into civil war. On 17 October 1859, Lee was visited by his former student, Lt. J. E. B. Stuart, who brought news – the federal arsenal at Harpers Ferry, Virginia, had been seized by insurrectionists who had taken hostages. Lee and Stuart immediately went to Harpers Ferry, and Lee took command of the militia and the US marines who had surrounded the arsenal. Lee sent Stuart to negotiate with the insurrectionists, but once these talks broke down, he ordered the marines to storm the arsenal. Within three minutes, it was all over. The leader of the raiders, John Brown (1800 to 1859), was captured and later executed; a radical abolitionist, Brown had intended to incite a slave revolt. The news unnerved many in the South, especially as the US presidential election of 1860 loomed.

Many Southerners feared that the victory of the new Republican Party would lead to the abolition of slavery. And so, after the Republican candidate Abraham Lincoln (1809 to 1865) won the presidency, South Carolina voted to secede from the Union in December 1860, claiming that secession was the only way to preserve its 'way of life'. Over the next several months, six more states followed suit, forming the Confederate States of America and choosing Mississippi Senator Jefferson Davis (1808 to 1889) as their president. Though Lee opposed secession, he also believed that "if the Union can only be maintained by the sword and the bayonet…its existence will lose all interest with me" (quoted in Encyclopedia Virginia). For this reason, he refused an offer by his old mentor, Winfield Scott, to take command of the Union forces. Though Virginia had not yet seceded, he feared that it soon would, and refused to fight against his native state.

Shortly after the firing on Fort Sumter in April 1861, President Lincoln called for 75,000 volunteers to crush the Southern rebellion. This triggered four more states to secede from the Union – including Virginia. Lee resigned from the US Army and returned home, where he was immediately tasked with organizing the commonwealth's defenses. Invasion seemed imminent, especially after the Confederacy transferred its capital to Richmond, Virginia. In August 1861, Lee was appointed to the rank of full general and was sent to western Virginia. However, Lee's first campaign would end in disappointment; due to poor weather, sickness, and other unlucky circumstances, his army was unable to dislodge the Federal troops from the mountains of western Virginia. Returning from the campaign in disgrace, Lee was sent to oversee the construction of defenses in Georgia and the Carolinas. The following spring, he returned to Richmond as a military advisor to President Davis.

In March 1862, Union Maj. Gen. George B. McClellan (1826 to 1885) landed at Fort Monroe with his 120,000-man Army of the Potomac and began to slowly advance up the Virginia Peninsula. He was opposed by a Confederate army under Gen. Joseph E. Johnston (1807 to 1891), with the two forces clashing at the Battle of Seven Pines (31 May to 1 June). Johnston was wounded, and Davis decided to replace him with Lee. Upon taking command of the most important Southern army, which he began to call the Army of Northern Virginia, Lee failed to inspire much confidence. His decision to dig trenches outside Richmond frustrated the troops, who believed he was being too cautious and derisively referred to him as the 'King of Spades'. Lee's other nickname, 'Granny Lee', certainly matched his appearance; his black hair had gone gray, his aristocratic mustache replaced by a beard. Yet Lee would soon prove that he was up to the task. In a series of clashes known as the Seven Days' Battles (25 June to 1 July 1862), he aggressively confronted McClellan's army. Although only one of these battles was decisive (Gaines' Mill), Lee's relentless fighting took the Northerners off guard and forced McClellan away from Richmond. While Lee's aggressive approach won him the confidence of his soldiers, it came at a high price in terms of casualties – indeed, the Army of Northern Virginia would suffer more casualties throughout the war than any other Southern army.

After saving Richmond, Lee did not rest on his laurels but turned to face Maj. Gen. John Pope (1822 to 1892), who was invading Virginia with another large Union army. Outnumbered, Lee made the risky decision to divide his army into two corps. The right wing, under Maj. Gen. Thomas J. 'Stonewall' Jackson (1824 to 1863), pretended to retreat and lured Pope's bloated army to Manassas Junction. It was here, at the Battle of Second Manassas (28 to 30 August 1862), that the left wing of Lee's army, under Maj. Gen. James Longstreet (1821 to 1904), slammed into Pope's flank, helping to win another decisive victory for the South. Buoyed by this string of successes, Lee decided to invade Maryland, hoping that a victory on Northern soil might convince European nations like Britain to recognize Southern independence. His first invasion of the North culminated in the Battle of Antietam (17 September 1862), the bloodiest single-day battle in American history. Though the battle ended in a stalemate, Lee was forced to end his invasion, withdrawing his battered army back across the Potomac River.

Lee next established a defensive position on Marye's Heights outside Fredericksburg, Virginia. The Army of the Potomac assaulted this position, leading to the Battle of Fredericksburg (11 to 15 December 1862). As he watched a Confederate countercharge sweep the Yankees from the heights, Lee turned to Longstreet and sadly remarked, "It is well that war is so terrible – we should grow too fond of it" (quoted in Freeman, 278). The next spring, Lee won another decisive victory at the Battle of Chancellorsville (30 April to 6 May 1863). Once again, he managed to defeat a much larger army by dividing his own force and outflanking the enemy, leading some historians to consider the battle to be Lee's masterpiece. The cost of this success was high casualties, including the indispensable Stonewall Jackson, who was mortally wounded.

Believing that the time was ripe for another invasion of the North, Lee again led the Army of Northern Virginia across the Potomac in June 1863. On 1 July, advance elements of his army clashed with Northern units at the small town of Gettysburg, Pennsylvania. After a hard day of fighting, the Union army pulled back to a strong defensive position on the heights to the south of the town. Despite the misgivings of some of his subordinates, like Longstreet, who deemed the Union position too strong, Lee was determined to renew the attack on 2 July; the Army of the Potomac had slipped through his fingers too many times, and he was not about to let it escape again. That day saw more bloody fighting at key points along the Union line that have become famous as Devil's Den, Little Round Top, and Culp's Hill. However, by nightfall, the Confederates had been unable to break through. On 3 July, Lee launched a three-pronged attack that included a massive assault on the Union center, involving 12,500 men under the command of Brig. Gen. George Pickett (1825 to 1875).

All three assaults failed, with Pickett's charge in particular resulting in several thousand casualties; the spot where the charge advanced the furthest has been immortalized as the 'high watermark of the Confederacy'. Lee was quick to realize his army had been broken. Telling his men that "it is all my fault," he led them on a disheartening, ten-day retreat into Virginia and would never again fight on Northern soil. The rest of the year was spent maneuvering around the Army of the Potomac, but fighting would not resume in earnest until May 1864, when Union General Ulysses S. Grant (1822 to 1885) launched his Overland Campaign. In only seven weeks, the armies clashed in several major engagements, including the Battle of the Wilderness (5 to 7 May), the Battle of Spotsylvania Court House (9 to 21 May), and the Battle of Cold Harbor (31 May to 12 June). In these fights, Lee lost an estimated 35,000 men, including his trusty cavalry commander, Stuart.

In June 1864, Lee set up a defensive position around Petersburg, Virginia, as Grant's army dug in and began to lay siege. The Siege of Petersburg (9 June 1864 to 25 March 1865) kept Lee and his army bottled up as the Confederacy crumbled around them. Atlanta, Georgia, fell to the Union on 2 September 1864, while Union General Philip H. Sheridan (1831 to 1888) ravaged the Shenandoah Valley. In February 1865, the Confederate government appointed Lee general-in-chief of all Confederate armies, but by then it was too late. In a last-ditch attempt to link his tired army up with another Confederate force, Lee abandoned Petersburg in early April, but was cornered by Grant outside Appomattox Court House. Having run low on men, supplies, and ammunition, there was little else Lee could do but surrender on 9 April 1865. The surrender of the Confederacy's most powerful army was the final nail in the coffin of Southern independence, and the war ended shortly thereafter.

After the war, Lee could not return to Arlington, which had been seized by the Union and turned into a national cemetery (a role it still fulfills today). But despite his defeat, he was recognized as a hero throughout the South. In August 1865, he accepted a position as president of Washington College in Lexington, Virginia, but refrained from speaking publicly about events as the country headed toward Reconstruction. As far as he was concerned, the South had gambled and lost, and now had to put past enmities behind it so that the nation could move forward. He suffered a stroke five years into his tenure and died on 12 October 1870 at the age of 63. He was mourned throughout the South and eventually became the idol of the pseudohistorical 'Lost Cause of the Confederacy' movement, which seeks to justify the Southern cause. While his place in history continues to be hotly debated today, there is no doubt that Robert E. Lee played a major role in one of the defining conflicts in US history.