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