For example, headward erosion by the Shenandoah River in the U.S. state of Virginia, a tributary of the Potomac River, permitted the Shenandoah to capture successively the original upstream segments of Beaverdam Creek, Gap Run and Goose Creek, three smaller tributaries of the Potomac.