The City of Williamsburg is located on the peninsula of Virginia, in between the counties of James City and York. The three areas make up the “Historic Triangle”. Williamsburg is famous for being the capital of the Virginia Colony during the 18th century.