Carlisle was settled in 1751, and the
Carlisle Barracks military post was established nearby in 1757, during the
French and Indian War. The
United States Army Cavalry School was established at the post in 1838. Captain Stoneman's four companies had a Civil War encampment at
Horner's Mill on May 6, 1861. By June 1863 the barracks' cavalry had been "withdrawn to
Harrisburg". On June 27, 1863, Confederate
Lieutenant General Richard S. Ewell's Second Corps of the
Army of Northern Virginia stopped at Carlisle
en route to Harrisburg and requisitioned supplies and food from the populace. Ewell, as well as some of his officers, had been stationed at the Carlisle Barracks prior to the Civil War when they were still members of the
United States Army. He paused in Carlisle while sending his cavalry under
Brigadier General Albert G. Jenkins towards the
Susquehanna River and Harrisburg. After resting much of his
infantry overnight, Ewell moved northward in his quest to seize the state capital. After the Confederates left in response to an order from Lee to concentrate near Gettysburg, Carlisle was reoccupied by Baldy Smith and a small contingent of
New York and
Pennsylvania militia from the
Department of the Susquehanna, dispatched by the department commander, Maj. Gen.
Darius N. Couch. The 32nd and 33rd Pennsylvania Volunteer Militia, Landis's Philadelphia militia artillery battery, and a company of the 1st New York Cavalry formed Smith's force. ==Stuart's raid==