Question: who was was in both the Battle of Chancellorsville and the Seven Days Battles?

Context articles: Battle of Gaines's Mill
Battle of Malvern Hill
Seven Days Battles
Seven Days Confederate order of battle
Battle of Port Republic
Savage's Station, Virginia
Battle of Cross Keys
Battle of Chancellorsville
Seven Days Union order of battle
William Dorsey Pender

The Battle of Gaines's Mill, sometimes known as the First Battle of Cold Harbor or the Battle of Chickahominy River, took place on June 27, 1862, in Hanover County, Virginia, as the third of the Seven Days Battles (Peninsula Campaign) of the American Civil War.
 Following the inconclusive Battle of Beaver Dam Creek (Mechanicsville) the previous day, Confederate General Robert E. Lee renewed his attacks against the right flank of the Union Army, relatively isolated on the northern side of the Chickahominy River.
 There, Brig. Gen. Fitz John Porter's V Corps had established a strong defensive line behind Boatswain's Swamp.
 Lee's force was destined to launch the largest Confederate attack of the war, about 57,000 men in six divisions.
 Porter's reinforced V Corps held fast for the afternoon as the Confederates attacked in a disjointed manner, first with the division of Maj. Gen. A.P. Hill, then Maj. Gen. Richard S. Ewell, suffering heavy casualties.
 The arrival of Maj. Gen. Stonewall Jackson's command was delayed, preventing the full concentration of Confederate force before Porter received some reinforcements from the VI Corps.
The Battle of Malvern Hill, also known as the Battle of Poindexter's Farm, was fought on July 1, 1862 between the Confederate Army of Northern Virginia, led by Gen. Robert E. Lee, and the Union Army of the Potomac under Maj. Gen. George B. McClellan.
 It was the final battle of the Seven Days Battles during the American Civil War, taking place on a 130 ft elevation of land known as Malvern Hill, near the Confederate capital of Richmond, Virginia and just one mile (1.6 km) from the James River.
 Including inactive reserves, more than fifty thousand soldiers from each side took part, using more than two hundred pieces of artillery and three warships.
The Seven Days Battles were a series of six major battles over the seven days from June 25 to July 1, 1862, near Richmond, Virginia, during the American Civil War.
 Confederate General Robert E. Lee drove the invading Union Army of the Potomac, commanded by Maj. Gen. George B. McClellan, away from Richmond and into a retreat down the Virginia Peninsula.
 The series of battles is sometimes known erroneously as the Seven Days Campaign, but it was actually the culmination of the Peninsula Campaign, not a separate campaign in its own right.
The following Confederate States Army units and commanders fought in the Seven Days Battles (from June 25 to July 1, 1862) of the American Civil War.
 Order of battle compiled from the army organization during the battle, the casualty returns and the reports.
 The Union order of battle is listed separately.
The Battle of Port Republic was fought on June 9, 1862, in Rockingham County, Virginia, as part of Confederate Army Maj. Gen. Thomas J. "Stonewall" Jackson's campaign through the Shenandoah Valley during the American Civil War.
 Port Republic was a fierce contest between two equally determined foes and was the most costly battle fought by Jackson's Army of the Valley during its campaign.
 Together, the battles of Cross Keys (fought the previous day) and Port Republic were the decisive victories in Jackson's Valley Campaign, forcing the Union armies to retreat and leaving Jackson free to reinforce Gen. Robert E. Lee for the Seven Days Battles outside Richmond, Virginia.
Savage's Station was the wartime name of a supply depot, ammunition dump, field hospital, and command headquarters of the Army of the Potomac during the Peninsula Campaign of the American Civil War.
 Savage's Station was located in Henrico County, Virginia on what was the Richmond and York River Railroad, however the historical department of the Norfolk Southern Railroad, the railroad track's current owner, has no record that an actual train station or station house ever existed on the property.
 A farmhouse is known to have been located in a copse of trees on a small knoll next to the railroad track and is visible in several period drawings and photographs made during the war.
 The house served as the nucleus of a large field hospital during and after the battle of Seven Pines and the Seven Days Battles.
 The house also functioned as General George B. McClellan's headquarters during the battle of Savage's Station on June 29, 1862.
 Although the house survived the battle in 1862, it was burned by Federal cavalry under General Philip H. Sheridan in 1864.
 The house appears to have never been rebuilt, and no trace of it remains today.
 However, a smokehouse from the 19th century still existed on the property as late as the 1930s when it was photographed during a survey of local historical structures as a project of the Civilian Conservation Corps.
 The smokehouse fell into ruin and collapsed sometime prior to the 1980s.
 A small brick-walled cemetery from the 18th century still sits near the former location of the house not far from the railroad track.
The Battle of Cross Keys was fought on June 8, 1862, in Rockingham County, Virginia, as part of Confederate Army Maj. Gen. Thomas J. "Stonewall" Jackson's campaign through the Shenandoah Valley during the American Civil War.
 Together, the battles of Cross Keys and Port Republic the following day were the decisive victories in Jackson's Valley Campaign, forcing the Union armies to retreat and leaving Jackson free to reinforce Gen. Robert E. Lee for the Seven Days Battles outside Richmond, Virginia.
The Battle of Chancellorsville was a major battle of the American Civil War (1861–1865), and the principal engagement of the Chancellorsville Campaign.
 It was fought from April 30 to May 6, 1863, in Spotsylvania County, Virginia, near the village of Chancellorsville.
 Two related battles were fought nearby on May 3 in the vicinity of Fredericksburg.
 The campaign pitted Union Army Maj. Gen. Joseph Hooker's Army of the Potomac against an army less than half its size, General Robert E. Lee's Confederate Army of Northern Virginia.
 Chancellorsville is known as Lee's "perfect battle" because his risky decision to divide his army in the presence of a much larger enemy force resulted in a significant Confederate victory.
 The victory, a product of Lee's audacity and Hooker's timid decision making, was tempered by heavy casualties, including Lt. Gen. Thomas J. "Stonewall" Jackson.
 Jackson was hit by friendly fire, requiring his left arm to be amputated; he died of pneumonia eight days later, a loss that Lee likened to losing his right arm.
The following Union Army units and commanders fought in the Seven Days Battles (from June 25 to July 1, 1862) of the American Civil War.
 Order of battle compiled from the army organization-return of casualties during the battle and the reports.
 The Confederate order of battle is listed separately.
William Dorsey Pender (February 6, 1834 – July 18, 1863) was a General in the Confederacy in the American Civil War serving as a Brigade and Divisional commander.
 Promoted to brigadier on the battlefield at Seven Pines by Confederate President Jefferson Davis in person, he fought in the Seven Days Battles and at Second Manassas, Fredericksburg and Chancellorsville, being wounded in each of these engagements.
 Lee rated him as one of the most promising of his commanders, promoting him to major general at twenty-nine.
 Pender was mortally wounded on the second day of Gettysburg.