The City of Williamsburg, in James City and York Counties, was established by the General Assembly as Middle Plantation in 1633. After the capitol building at Jamestown burned in 1698, the assembly decided to move the capital of the colony to Middle Plantation, which was renamed Williamsburg in 1699 in honor of William III. Williamsburg was established in 1699 and declared a "city Incorporate" in 1722, although its actual status was that of a borough. It served as the capital of Virginia from 1699 until 1780. Williamsburg was incorporated as a city in 1884.
James City County was named for James I. It was one of the eight shires established in 1634. Parts of New Kent and York Counties were added later. The county seat is Williamsburg.
During the Civil War, the records of James City County and Williamsburg were transferred to Richmond for safekeeping but were destroyed by fire in Richmond on 3 April 1865.
From the guide to the Williamsburg (Va.) Records of City Council, 1879-1919, (The Library of Virginia)