Throughout most of the 1800s, US currency was backed by silver and gold
In post-Civil War America, the government moved to use only the gold standard. This was how US currency was backed for decades in the US. You can read a comprehensive explainer on the gold standard and its history in the US to learn more.