The Codorus Navigation Company, based in York in south-central Pennsylvania, was formed in 1829 to make a navigable waterway along Codorus Creek from York, Pennsylvania to the Susquehanna River, a distance of 11 miles .