The Army of the Potomac shifted its headquarters from Middleburg to Taneytown while its corps and cavalry redistributed across Maryland and Pennsylvania: the First Corps marched from Emmitsburg to Marsh Run, the Third Corps from Taneytown to Bridgeport, the Fifth Corps from Liberty by way of Johnsville, Union Bridge, and Union to Union Mills, the Sixth Corps from New Windsor to Manchester, and the Twelfth Corps from Taneytown and Bruceville to Littlestown. The First and Second Brigades of the First Cavalry Division moved from near Fairfield by way of Emmitsburg to Gettysburg, the Second Cavalry Division went from New Windsor to Westminster and then to Manchester, the Third Cavalry Division moved from Littlestown to Hanover, and the Artillery Reserve went from Bruceville to Taneytown. Fighting took place at Hanover, Pennsylvania, with skirmishes at Westminster, Maryland, and at Fairfield and Sporting Hill near Harrisburg, Pennsylvania.