By the mid-19th century, the City of Brooklyn was quickly growing and was the United States' third-largest city. The creek and surrounding agricultural land was now part of an urban agglomeration, consisting of villages along the creek's shores. That same shoreline of river and swamp functioned as both a transportation system and an informal sewage system for the growing city. The valley's watershed is approximately and includes drainage from what are now the adjacent neighborhoods of Carroll Gardens and Park Slope. Wealthier residents tended to live inland and uphill to avoid the smells and "discomforts" of lower areas. Industries, which needed water for processing, transport, and disposal of wastes, gravitated toward sites along the shoreline.