With the decision to relocate the government inland to Williamsburg in 1699, a grand new Capitol building was completed in November 1705. Nearby was the grand Governor's Palace. It burned in 1747 and was replaced in 1753. On June 29, 1776, Virginians declared their independence from Great Britain and wrote the state's first constitution, thereby creating an independent government four days before Congress voted for the Declaration of Independence in Philadelphia on July 4.