Originally developed as a sailing port and then an industrial center on the Connecticut River, it is now largely residential. Its downtown, based on Main Street, serves as a popular retail, dining, and bar district near Wesleyan University. Middletown was the county seat of Middlesex County from its creation in 1785 until the elimination of county government in 1960. As of the 2010 census, the city had a total population of 47,648. Middletown, Connecticut is considered the southernmost city in the Hartford-Springfield Knowledge Corridor Metropolitan Region, which features a combined metro population of 1.9 million.