The United States adopted a silver standard based on the Spanish milled dollar in 1785. This was codified in the 1792 Mint and Coinage Act, and by the federal government's use of the Bank of the United States to hold its reserves, as well as establishing a fixed ratio of gold to the US dollar. This was, in effect, a derivative silver standard, since the bank was not required to keep silver to back all of its currency. This began a long series of attempts for America to create a bimetallic standard for the US dollar, which would continue until the 1920s. Gold and silver coins were legal tender, including the Spanish real. Because of the huge debt taken on by the US federal government to finance the Revolutionary War, silver coins struck by the government left circulation, and in 1806 President Jefferson suspended the minting of silver coins.