Boston had the status of a town; it was chartered as a city in 1822. The second mayor was Josiah Quincy III, who undertook infrastructure improvements in roads and sewers, and organized the city's dock area around the newly erected Faneuil Hall Marketplace, popularly known as Quincy Market. By the mid-19th century Boston was one of the largest manufacturing centers in the nation, noted for its garment production, leather goods, and machinery industries. Manufacturing overtook international trade to dominate the local economy. A network of small rivers bordering the city and connecting it to the surrounding region made for easy shipment of goods and allowed for a proliferation of mills and factories. The building of the Middlesex Canal extended this small river network to the larger Merrimack River and its mills, including the Lowell mills and mills on the Nashua River in New Hampshire. By the 1850s, an even denser network of railroads ("see also List of railroad lines in Massachusetts") facilitated the region's industry and commerce. For example, in 1851, Eben Jordan and Benjamin L. Marsh opened the Jordan Marsh Department store in downtown Boston. Thirty years later William Filene opened his own department store across the street, called Filene's.