in the field". The College Building was used as a Confederate barracks and later as a hospital, first by Confederate, and later Union forces. The Battle of Williamsburg was fought nearby during the Peninsula Campaign on May 5, 1862. The following day, on May 6, 1863, Williamsburg was captured by the Union army. The Brafferton building of the college was used for a time as quarters for the commanding officer of the Union garrison occupying the town. On September 9, 1862, drunken soldiers of the 5th Pennsylvania Cavalry set fire to the College Building, purportedly in an attempt to prevent Confederate snipers from using it for cover.
=== Late 19th century ===
Following the restoration of the Union, Virginia was destitute. The college's 16th president, Benjamin Stoddert Ewell, finally reopened the school in 1869 using his funds, but the college closed again in 1882 due to insufficient funding. In 1888, William & Mary resumed operations under an amended charter when the Commonwealth of Virginia passed an act appropriating …