Williamsburg was the capital of the Virginia colony from 1699 until 1779. Plotted on land first used by Virginia Indians , it was settled by the English during and just after the Second Anglo-Powhatan War (1622–1632) and called Middle Plantation, for its location equidistant between the York and James rivers.