The river forms the border between the province of Avellino and the province of Potenza and then turns to the north, forming the border between the province of Foggia and the province of Potenza. It then turns to the northeast and forms the border between the province of Foggia and the province of Barletta-Andria-Trani.