Longstreet made significant contributions to several important Confederate victories, mostly in the Eastern Theater as one of Robert E. Lee's chief subordinates in the Army of Northern Virginia. He performed poorly at Seven Pines by accidentally marching his men down the wrong road, causing them to be late in arrival, but played an important role in the Confederate success of the Seven Days Battles in the summer of 1862, where he helped supervise repeated attacks which drove the Union army away from the Confederate capital of Richmond. Longstreet led a devastating counterattack that routed the Union army at Second Bull Run in August. His men held their ground in defensive roles at Antietam and Fredericksburg. Longstreet's most controversial service was at the Battle of Gettysburg in July 1863, where he openly disagreed with General Lee on the tactics to be employed and reluctantly supervised several unsuccessful attacks on Union forces, including the disastrous Pickett's Charge. Afterwards, Longstreet was, at his own request, sent to the Western Theater to fight under Braxton Bragg, where his troops launched a ferocious assault on the Union lines at Chickamauga, which carried the day. Afterwards, his performance in semiautonomous command during the Knoxville Campaign resulted in a Confederate defeat. Longstreet's tenure in the Western Theater was marred by his central role in numerous conflicts amongst Confederate generals. Unhappy serving under Bragg, Longstreet and his men were sent back to Lee. He ably commanded troops during the Battle of the Wilderness in 1864, where he was seriously wounded by friendly fire. He later returned to the field, serving under Lee in the Siege of Petersburg and the Appomattox Campaign.