Philadelphia is in the southeast corner of the state, near the border of Pennsylvania and New Jersey.