In 1853, the PRR surveyed the Lancaster, Lebanon and Pine Grove Railroad from Philadelphia west via Phoenixville to Salunga on the Portsmouth, Mount Joy and Lancaster Railroad. This was done in order to show the state that the PRR was willing to build its own alignment around the Philadelphia and Columbia. On August 1, 1857, the PRR bought the whole Main Line of Public Works. The Philadelphia and Columbia Railroad was integrated into its system. Most of the New Portage Railroad, just completed the previous year at a cost of $2.14 million, was abandoned, while short sections became local branches. The canals were abandoned, and short sections were filled and covered by rails. On January 1, 1861, the PRR leased the HPMJ&L, giving it full control of its main line.