The introduction of natural gas (about 1830); the building of the Pontchartrain Rail-Road (1830–31), one of the earliest in the United States; the introduction of the first steam-powered cotton press (1832), and the beginning of the public school system (1840) marked these years; foreign exports more than doubled in the period 1831–1833. In 1838 the commercially-important New Basin Canal opened a shipping route from the Lake to uptown New Orleans. Travelers in this decade have left pictures of the animation of the river trade more congested in those days of river boats, steamers, and ocean-sailing craft than today; of the institution of slavery, the quadroon balls, the medley of Latin tongues, the disorder and carousing of the river-men and adventurers that filled the city. Altogether there was much of the wildness of a frontier town, and a seemingly boundless promise of prosperity. The crisis of 1837, indeed, was severely felt, but did not greatly retard the city's advancement, which continued unchecked until the Civil War. In 1849 Baton Rouge replaced New Orleans as the capital of the state. In 1850 telegraphic communication was established with St. Louis and New York City; in 1851 the New Orleans, Jackson and Great Northern railway, the first railway outlet northward, later part of the Illinois Central, and in 1854 the western outlet, now the Southern Pacific, were begun.