Numerous local men served with the Confederate Army, mostly as troops. Dr. Hunter McGuire was Chief Surgeon of the Second "Jackson's" Corps of the Army of Northern Virginia. He laid the foundations for the future Geneva conventions regarding the treatment of medical doctors during warfare. Winchester served as a major center for Confederate medical operations, particularly after the Battle of Sharpsburg in 1862 and the Battle of Gettysburg in 1863.