 (Green Spring Plantation was the former home of Royal Governor William Berkeley).During the American Civil War, the Battle of Williamsburg was waged in York and James City County during the Peninsula Campaign in 1862.Some earthworks remain at the site of the Confederate Fort Magruder.