The Battle of Hanover took place on June 30, 1863, in Hanover in southwestern York County, Pennsylvania, as part of the Gettysburg Campaign of the American Civil War. Maj. Gen. J.E.B. Stuart's Confederate cavalry, which was riding north to get around the Union Army of the Potomac, attacked a Federal cavalry regiment, driving it through the streets of Hanover. Brig. Gen. Elon Farnsworth's brigade arrived and counterattacked, routing the Confederate vanguard and nearly capturing Stuart himself. Stuart soon counterattacked. Reinforced by Brig. Gen. George A. Custer's Michigan Brigade, Farnsworth held his ground, and a stalemate ensued. Stuart was forced to continue north and east to get around the Union cavalry, further delaying his attempt to rejoin Robert E. Lee's army, which was then concentrating at Cashtown Gap west of Gettysburg. Background As Robert E. Lee moved his Army of Northern Virginia northward in June 1863 through the Shenandoah Valley towards Pennsylvania, portions of his cavalry under J.E.B. Stuart slipped eastward across the path of the Union Army of the Potomac. A series of raids in eastern Maryland netted prisoners and supplies, as well as disrupting Federal communications and telegraph lines. However, Stuart was not in position to effectively screen Lee's advance or to provide intelligence on the movements of the Federal army. As Stuart headed north in an effort to link with Lee, Union cavalry commander Maj. Gen. Alfred Pleasonton, riding towards Pennsylvania to the west of Stuart, ordered his divisions to fan out across a wide swath, keeping an eye out for Confederates. Brig. Gen. Judson Kilpatrick's division was on the Union right flank. The majority of his men passed through Hanover early in the morning of June 30, pausing briefly for refreshments and to receive the greetings of the jubilant townspeople. Their town had been raided three days before by Confederate Lt. Col. Elijah V. White's cavalry, attached to Maj. Gen. Jubal Early's division that had occupied York County. White's Virginians and Marylanders had followed the railroad to Hanover from nearby Gettysburg, and taken horses, food, supplies, clothing, shoes, and other desired items from the townspeople, often paying with valueless Confederate money or drafts on the Confederate government. White's raiders had destroyed the area's telegraph wires, cutting off communications with the outside world, before sacking the nearby Hanover Junction train station. The unexpected arrival of Kilpatrick's column was a pleasant surprise to the residents of Hanover, who warmly