Pennsylvania ( PEN-sil-VAY-nee-ə, lit. 'Penn's forest country'), officially the Commonwealth of Pennsylvania (Pennsylvania Dutch: Pennsilfaani), is a U.S. state spanning the Mid-Atlantic, Northeastern, Appalachian, and Great Lakes regions of the United States. It borders Delaware to its southeast, Maryland to its south, West Virginia to its southwest, Ohio and the Ohio River to its west, Lake Erie and New York to its north, the Delaware River and New Jersey to its east, and the Canadian province of Ontario to its northwest via Lake Erie.
Pennsylvania was founded in 1681 through a royal land grant to William Penn, the son of the state's namesake. Prior to that, between 1638 and 1655, a southeast portion of the state was part of New Sweden, a Swedish Empire colony. Established as a haven for religious and political tolerance, the colonial-era Province of Pennsylvania was known for its relatively peaceful relations with native tribes, innovative government system, and religious pluralism.
Pennsylvania played a vital and historic role in the American Revolution and the ultimately successful quest for independence from the British Empire, hosting the First and Second Continental Congress in Philadelphia, which formed the Continental Army and appointed George Washington as its commander in 1775, and unanimously adopted the Declaration of Independence the following year. On December 12, 1787, Pennsylvania was the second state to ratify the U.S. Constitution.
In July 1863, the Battle of Gettysburg, fought over three days in and around Gettysburg, was the bloodiest and most decisive battle of the American Civil War, claiming over 50,000 Union and Confederate fatalities and repelling Robert E. Lee's invasion of the North, leading to the Union's preservation. Throughout the late 19th and 20th centuries, the state's manufacturing-based economy contributed to the development of much of the nation's early infrastructure, including key bridges, skyscrapers, and military hardware used in U.S.-led victories in World War I, World War II, and the Cold War.
Pennsylvania's geography is highly diverse. The Appalachian Mountains run through the center of the state; the Allegheny and Pocono mountains span much of Northeastern Pennsylvania; close to 60% of the state is forested. While it has no ocean shoreline, it has 140 miles (225 km) of waterfront along Lake Erie and the tidal Delaware River.
Pennsylvania is the fifth-most populous state in the United States, with over 13 million residents as of the 2020 United States census. The state is the 33rd-largest by area and has the ninth-highest population density among all states. The largest metropolitan statistical area is the southeastern Delaware Valley, which includes and surrounds Philadelphia, the state's largest and nation's sixth-most populous city. The second-largest metropolitan area, Greater Pittsburgh, is centered in and around Pittsburgh, the state's second-largest city. The state's subsequent five most populous cities are Allentown, Reading, Erie, Scranton, and Bethlehem.