Throughout the Revolutionary War, the engrossed copy was moved with the Continental Congress, which relocated several times to avoid the British army. In 1789, after creation of a new government under the United States Constitution, the engrossed Declaration was transferred to the custody of the secretary of state. The document was evacuated to Virginia when the British attacked Washington, D.C. during the War of 1812.