Question: when did williamsburg become the capital of virginia
Answer: The city served as the capital of the Colony and Commonwealth of Virginia from 1699 to 1780 and was the center of political events in Virginia leading to the American Revolution .