Erie (; EER-ee) is a city on the south shore of Lake Erie and the county seat of Erie County, Pennsylvania, United States. It is the fifth-most populous city in Pennsylvania and the most populous in Northwestern Pennsylvania with a population of 94,831 at the 2020 census. The two-county Erie metropolitan area had a population of 270,876 in 2020. Erie is about 80 miles (130 km) from Buffalo, 90 miles (140 km) from Cleveland, and 120 miles (190 km) from Pittsburgh. The city was named for the Native American Erie people who lived in the area until the mid-17th century. Its nicknames include "Gem City", a reference to its fine natural harbor, the "Gem of the Great Lakes"; and more recently, "Flagship City", from a local marketing effort to play up the homeport of Oliver Hazard Perry's flagship Niagara. Manufacturing continues to play a large part in Erie's economy, with rising contributions from insurance, healthcare, higher education, technology, service industries, and tourism. Like the other Great Lakes port cities, Erie is accessible to the oceans via the Lake Ontario and St. Lawrence River network in Canada. The local climate is humid, four-seasonal, and snowy, with warm summers and harsh winters, owing to its southern lakeshore location.