On June 28, 1863, Gen. J.E.B. Stuart's Confederate cavalry occupied Rockville and captured 150 U.S. wagons along the Washington Road before marching to Gettysburg. In July 1864, Gen. Jubal Early passed through Rockville on his way to and from Washington.