After McClellan's troops had taken Yorktown on the York River, his army followed the retreating Confederates, and gained another victory over them on May 5, 1862, at Williamsburg, the old colonial capital, which was located on high ground between the York and James Rivers about 10 miles below the mouth of the Chickahominy.