The Battle of White Oak Swamp took place on June 30, 1862, in Henrico County, Virginia, as part of the Seven Days Battles (Peninsula Campaign) of the American Civil War. As the Union Army of the Potomac retreated southeast toward the James River, its rearguard under Maj. Gen. William B. Franklin stopped Maj. Gen. Thomas J. "Stonewall" Jackson's divisions at the White Oak Bridge crossing, resulting in an artillery duel, while the main Battle of Glendale raged two miles (3 km) farther south around Frayser's Farm.