The Battle of Fairfax Court House was fought during the Gettysburg campaign of the American Civil War between two cavalry detachments from the Union Army of the Potomac, commanded by General Joseph Hooker, and the Confederate Army of Northern Virginia, commanded by General Robert E. Lee.

The Confederate cavalry leader General J.E.B. Stuart was keen to restore his prestige after two humiliating encounters with Union cavalry, and as the main body crossed the Potomac into Maryland, he received permission to detach three brigades and ride around the entire Union army to gather supplies and intelligence, and damage lines of communication.

At Fairfax Court House, Virginia, on June 27, one of Stuart’s brigades, led by Brigadier General Wade Hampton, was surprised by a small detachment of the 11th New York Cavalry under Major Remington, which initially drove them into the woods, but were so heavily outnumbered that they had to retreat. Although technically a Confederate win, this small engagement had a major impact on the outcome of Gettysburg, since it delayed Stuart’s arrival, depriving Lee of essential knowledge of the enemy’s whereabouts.

Background

Plan to invade the North On the night of May 5–6, 1863, after the Army of the Potomac commanded by Major General Joseph Hooker had been defeated at the Battle of Chancellorsville (April 30, 1863 to May 6, 1863), in Spotsylvania County, Virginia by the General Robert E. Lee's Army of Northern Virginia, Hooker withdrew his forces to positions north of the Rappahannock River, mainly in the vicinity of Falmouth, Virginia. Lee's army remained just to the south of the Rappahannock in the Fredericksburg, Virginia area after the battle.Coddington, Edwin B. The Gettysburg Campaign; a study in command. New York: Scribner's, 1968. . p. 51.

Meanwhile, in Mississippi, Union Major General Ulysses S. Grant was closing in on a Confederate army at Vicksburg, Mississippi.Coddington, 1968, p. 7. Loss of Vicksburg would give the Union control of the Mississippi River and effectively cut off Confederate territory west of the Mississippi from the rest of the Confederacy.Long, E. B. The Civil War Day by Day: An Almanac, 1861–1865. Garden City, NY: Doubleday, 1971. . p. 359.Eicher, David J. The Longest Night: A Military History of the Civil War. New York: Simon & Schuster, 2001. . p. 490. Leaders of the Confederate government, Confederate President Jefferson Davis and Confederate States Secretary of War James A. Seddon wanted to relieve the pressure on Vicksburg, possibly by sending reinforcements from Virginia to Mississippi or to Tennessee in order to divert attention of Union forces from Vicksburg.McPherson, James M. Battle Cry of Freedom: The Civil War Era. Oxford History of the United States. New York: Oxford University Press, 1988. . p. 646.

In meetings with Davis and Seddon from May 14, 1863 to May 17, 1863 and on May 26, 1863, Lee proposed to relieve the pressure in Mississippi by diverting Union Army attention to an invasion of the North from Virginia.Coddington, 1968, pp. 7–9.McPherson, 1988, p. 647. This also would spare Virginia from further campaigning that summer, allow the Army of Northern Virginia to live off the land in the North and to threaten major cities, such as Philadelphia, Baltimore and Washington, D.C., in order to weaken Northern support for the war and possibly even to obtain foreign recognition of the Confederacy.Eicher, 2001, p. 490. Davis and Seddon, along with Davis's entire cabinet, except Postmaster-General John Reagan of Texas, agreed upon Lee's plan at these meetings.Coddington, 1968, p. 7 However, further correspondence was exchanged, which made it appear to some later historians that Davis's full approval did not come until May 31. On the other hand, historian Stephen W. Sears states that the further correspondence only concerned Lee's difficulty with D. H. Hill concerning reinforcements and not the plan to invade the North and that Lee began to get his force ready to move north on May 17.Sears, Stephen W. Gettysburg. Boston: Houghton Mifflin, 2003. . p. 17.

Lee completed a reorganization of his army by June 1, 1863 and began preparations to move to Virginia's Shenandoah Valley and then into Maryland and Pennsylvania.Coddington, 1968, pp. 11–18. By June 2, 1863, Lee had intelligence that Union forces along the Virginia coast and on the Virginia Peninsula were not contemplating a move against Richmond, Virginia, the Confederacy's capital and that Hooker was not prepared to make another strike across the Rappahannock.Coddington, 1968, p. 51.

Beginning of the Gettysburg Campaign The Confederate Gettysburg Campaign began on June 3, 1863 with the Second Corps, Army of Northern Virginia, under its new commander, Lieutenant General Richard S. Ewell, moving northwest from the Fredericksburg area to Culpeper Court House, Virginia.Weigley, Russell F. A Great Civil War: A Military and Political History, 1861–1865. Bloomington and Indianapolis: Indiana University Press, 2000. . p. 237. By the next day, Hooker learned of the Confederate movement but did not know whether Lee was attempting to move north or to attack Hooker's right flank or whether the Confederates were moving their infantry or just cavalry.Coddington, 1968, pp. 52, 54. Hooker proposed to attack Lieutenant General A. P. Hill's Third Corps at Fredericksburg but President Abraham Lincoln and Union Army General-in-Chief Henry Halleck thought that the plan was too risky and would enable Lee to turn his force at Culpeper to attack Hooker's flank, possibly while Hooker's men were engaged in crossing the Rappahannock.Coddington, 1968 p. 53. Hooker gave up the idea.

On June 6, 1863, Union Brigadier General John Buford informed Hooker that Lee's "movable" force, consisting of six brigades of cavalry, was at Culpeper.Coddington, 1968, p. 54. Buford did not know about the presence of Ewell's Second Corps and two of James Longstreet's First Corps divisions at Culpeper.

Battle of Brandy Station On June 7, acting on Buford's intelligence, Hooker ordered Major General Alfred Pleasonton to take his entire cavalry corps and 3,000 infantrymen, a combined force of about 11,000 men including artillerymen, across the Rappahannock River near Brandy Station, Virginia and "disperse and destroy" the Confederate force at Culpeper. At dawn on June 9, 1863, Pleasonton's force, divided into two wings commanded by Brigadier General John Buford and Brigadier General David McMurtrie Gregg, crossed the Rappahannock at Beverly Ford and Kelly's Ford, about apart.Coddington, 1968, p. 55.Eicher, pp. 491–492. They planned to unite at Brandy Station about from Beverly Ford and from Kelly's Ford and then to move west to Culpeper. Buford's wing drove the Confederate pickets from Beverly Ford and surprised the Confederate cavalry camped nearby around Fleetwood Hill, where Stuart had his headquarters, and Brandy Station.Coddington, 1968, pp. 56–58. The Battle of Brandy Station, the largest cavalry battle of the war, continued until late afternoon with the Confederates ultimately holding Fleetwood Hill.Coddington, 1968, p. 58.Woodworth, Steven E., and Kenneth J. Winkle. Oxford Atlas of the Civil War. New York: Oxford University Press, 2004. . p. 179. With Confederate infantry approaching the area, Pleasonton made an orderly withdrawal across the Rappahannock. Stuart called the battle a victory but he was subjected to criticism for being surprised and for the losses inflicted on his men by Pleasonton's force.Coddington, 1968, pp. 58–59.Wittenberg, 2006. p. xviii.Pleasonton also was surprised by finding Stuart's cavalry just across the Rappahannock River near Brandy Station rather than further west at Culpeper. Coddington, 1968, 1968, p. 63. To Stuart's chagrin, for the first time in the war, the Union cavalry came out of a battle with the Confederate cavalry on roughly even terms.Coddington, 1968, pp. 64–65.

Troop movements and cavalry actions Between June 9 and June 15, 1863, Lee contended with Davis and Seddon, and with the commander of Confederate forces in North Carolina and Southeast Virginia, Major General Daniel Harvey Hill, about the number and veteran status of the units to be left behind to guard Richmond and the coastal areas of Virginia and North Carolina.Coddington, 1968, pp. 68–69. On June 15, Lee began to concentrate his entire army for the offensive.Coddington, 1968, p. 69. He had already ordered Ewell to proceed with the Second Corp to the Shenandoah Valley on June 10.Coddington, 1968, p. 73.

After the Battle of Brandy Station, Hooker was persuaded by Pleasonton that Confederate infantry were at Culpeper and began to move his corps to the west, eventually spreading the Army of the Potomac over a line from Fredericksburg to Beverly Ford. On June 13, Hooker heard that the First Corps and Second Corps of the Army of Northern Virginia were headed toward the Shenandoah Valley.Coddington, 1968, p. 70. On June 14, he ordered the right wing of his army to concentrate at Manassas Junction, Virginia and the left wing to go to Dumfries, Virginia after withdrawing government property from depots north of Fredericksburg, especially the base at Aquia Creek.Coddington, 1968, p. 71. Hooker moved his headquarters to Dumfries and then to Fairfax Station and then to Fairfax Court House.Coddington, 1968, p. 74.Rafuse, Ethan S. Robert E. Lee and The Fall of the Confederacy, 1863-1865. Lanham, MD: Rowman & Littlefield Publishers, Inc., 2008; Paperback edition, 2009. . p. 51. By leaving the Fredericksburg line, Hooker enabled Lee to order Hill to go to Culpeper and Longstreet to proceed to the Shenandoah Valley without concern that Hooker would try to cross the Rappahannock and make a strike toward Richmond.

Two Confederate cavalry brigades under William E. Jones ("Grumble" Jones) and Wade Hampton IIIHampton's Brigade had 178 fit officers and 2,032 effective men when it rejoined Stuart's command after the Battle of Chancellorsville. Hartley, Chris J. Stuart's Tarheels: James B. Gordon and His North Carolina Cavalry in the Civil War. Jefferson, NC: McFarland & Co., Inc., 2011. . p. 123. The brigade had 1,999 men at Union Mills, Maryland, three days after the battle. Wittenberg, 2006, pp. 299–300. screened the movement of A. P. Hill's Corps to Culpeper. The Confederate and Union forces, mostly cavalry, fought daily in the Loudoun Valley area between the Blue Ridge Mountains and the Bull Run Mountains during the week after June 17, 1863 as the two armies tried to learn each other's positions and movements or to prevent their opposition from gathering such information about their own forces. Although the Confederates kept the Union cavalry east of the Blue Ridge, Pleasanton and Gregg concluded that only Confederate cavalry was east of the Blue Ridge when in fact Longstreet's corps was spread out east of the mountains for some days that week.Coddington, 1968, p. 79.

Battle of Upperville