After the Peninsula Campaign, General Robert E. Lee reorganized his cavalry forces as a division under the command of J.E.B. Stuart, who selected Hampton as his senior subordinate, to command one of two cavalry brigades. Hampton's brigade was left in Richmond to keep eyes on McClellan's withdrawal from the Peninsula, while the rest of the army participated in the Northern Virginia Campaign. Thus, Hampton and his men missed the Second Battle of Manassas, re-joining the army shortly thereafter; but were present on the extreme left of the Confederate line at Sharpsburg. His brigade was selected to participate in Stuart's Chambersburg Raid in October 1862, in which Hampton was briefly appointed "military governor" of the town following its surrender to the Confederate cavalry. During the winter of 1862, Hampton led a series of cavalry raids behind enemy lines and captured numerous prisoners and supplies without suffering any casualties, earning a commendation from General Lee. In November 1862, he captured 137 men of the 3rd Pennsylvania Cavalry at Hartwood Presbyterian Church.