New York City at that time begin with the making of the city as the capital of the United States under the Congress of the Confederation from January 11, 1785, to Autumn 1788, and under the United States Constitution from its statement in 1789 until to Philadelphia. The city grew as an economic center with the opening of the Erie Canal in 1825; the growth of its railroads added to its dominance. Tammany Hall began to grow in influence with the support of many Irish immigrants, culminating in the election of the first Tammany mayor, Fernando Wood, in 1854.