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. After the War, Collis P. Huntington extended the new Chesapeake and Ohio Railway through the county to reach new coal piers he had built at Newport News on Hampton Roads. Railroad stations were established (listed west to east) at Diascund, Toano, Vaiden's Crossing, Kelton, Ewell, Williamsburg, and Grove. In Williamsburg, the temporary tracks initially laid ran down the middle of Duke of Gloucester Street.