Before 1862 the United States had no federal currency. State-chartered banks issued their own notes; over 7,000 different note designs circulated by the Civil War. The war forced the federal government to create a national currency for the first time, and the panics of the late 19th century forced it to create a central bank to backstop that currency. Two laws passed in 1862 and 1863, and the Federal Reserve Act of 1913, are the institutional foundation that the SEC, the FDIC, and every later regulator was built on top of.