It rises at Great East Lake, Newichawannock Canal, and Horn Pond and flows south-southeast for approximately 38 miles , forming the border between York County, Maine, and Strafford County, New Hampshire. [