Montgomery County in southeastern Pennsylvania was formed from Philadelphia County in 1784.