Investment banking began in the 1860s with the establishment of Jay Cooke & Company, one of the first issuers of government bonds. In 1863, the National Bank Act was passed to create a national currency, a federal banking system, and make public loans. However at this time not all states had yet formally joined the union. In Oklahoma territory, which did not become a state until 1907, Muskogee mayor H.B. Spaulding resigned in 1902 from his position as vice-president of the Territorial Trust and Surety Company, after his Spaulding Mercantile Company was given a charter to found a private bank. Similarly in 1903 several more private banks were founded. One contemporary banker from Oklahoma defending the vitality of these private non-US banks did note that a small number of bank failures had resulted from a "dip in deposits due to partial crop failure".