 Its southern border is the Mason–Dixon line, which separates Pennsylvania and Maryland.Within the U.S. piedmont region, York County is generally hilly and rises to the Blue Ridge Mountains in the northwest, where it is bordered by Yellow Breeches Creek.Interior waterways include Codorus and Conewago Creeks, and Lakes Marburg, Redman, and Williams.