George Washington, elected the first president in 1789, worked with the heads of the departments of State, Treasury, and War, along with an Attorney General (the Justice Department wasn't created until 1870), the group of which later became known as his cabinet. Based in New York, the new government acted quickly to rebuild the nation's financial structure. Enacting the program of Treasury Secretary Alexander Hamilton, the government assumed the Revolutionary War debts of the states and the national government, and refinanced them with new federal bonds. It paid for the program through new tariffs and taxes; the tax on whiskey led to a revolt in the west; Washington raised an army and suppressed it. The nation adopted a Bill of Rights as 10 amendments to the new constitution. Fleshing out the Constitution's specification of the judiciary as capped by a Supreme Court, the Judiciary Act of 1789 established the entire federal judiciary. The Supreme Court became important under the leadership of Chief Justice John Marshall (1801–1835), a federalist and nationalist who built a strong Supreme Court and strengthened the national government.