Harrisburg ( HARR-iss-burg; Pennsylvania German: Harrisbarrig) is the capital city of the Commonwealth of Pennsylvania in the United States, and the county seat of Dauphin County. With a population of 49,271, it is the 13th largest city in the Commonwealth. According to 2018 estimates of the Census Bureau, the population is 51.8% Black or African American, 22.6% white, 21.8% Latino, 5.4% Asian, and 0.4% Native American while 3.9% identify as two or more races. It lies on the east bank of the Susquehanna River, 107 miles (172 km) west of Philadelphia. Harrisburg is the anchor of the Harrisburg metropolitan area, which had a 2019 estimated population of 577,941, making it the fourth most populous metropolitan area in Pennsylvania and 96th most populous in the United States. It is the second-largest city in the multi-polar region known as the Lower Susquehanna Valley, comprising the Harrisburg, Lancaster and York metropolitan areas.
Harrisburg played a notable role in American history during the Westward Migration, the American Civil War and the Industrial Revolution. During part of the 19th century, the building of the Pennsylvania Canal, and later the Pennsylvania Railroad, allowed Harrisburg to become one of the most industrialized cities in the Northeastern United States. The U.S. Navy ship USS Harrisburg, which served from 1918 to 1919 at the end of World War I, was named in honor of the city. In the mid-to-late 20th century, the city's economic fortunes fluctuated with its major industries consisting of government, heavy manufacturing, agriculture, and food services (nearby Hershey is home of the chocolate maker, located just 10 miles (16 km) east).