text: This general’s troops drove off invading forces during the Seven Days Battles, which ended the Peninsular campaign.
full_question: This general’s troops drove off invading forces during the Seven Days Battles, which ended the Peninsular campaign. For failing to pursue this man, George McClellan lost command of the Army of the Potomac in favor of Ambrose Burnside. Despite Jefferson (*) Davis’s opposition, this man was named Generalin-chief of the Confederate Army in early 1865. For ten points, name this Virginian general who surrendered at Appomattox Courthouse to Ulysses S. Grant, ending the Civil War.
first_sentence: This general’s troops drove off invading forces during the Seven Days Battles, which ended the Peninsular campaign.