Lynn is the eighth-largest municipality in Massachusetts, United States, and the largest city in Essex County. Situated on the Atlantic Ocean, 3.7 miles (6.0 km) north of the Boston city line at Suffolk Downs, Lynn is part of Greater Boston's urban inner core. Settled by Europeans in 1629, Lynn is the 5th oldest colonial settlement in the Commonwealth. An early industrial center, Lynn was long colloquially referred to as the "City of Sin", owing to its historical reputation for crime and vice. Today, however, the city is known for its contemporary public art, immigrant population, historic architecture, downtown cultural district, loft-style apartments, and public parks and open spaces, which include the oceanfront Lynn Shore Reservation; the 2,200-acre, Frederick Law Olmsted-designed Lynn Woods Reservation; and the High Rock Reservation and Park designed by Olmsted's sons. Lynn also is home to Lynn Heritage State Park, the southernmost portion of the Essex Coastal Scenic Byway, and the seaside, National Register-listed Diamond Historic District. The population was 101,253 at the 2020 United States census.