The two main rivers in Somalia are the Juba and Shebelle Rivers. Both rivers originate in the Ethiopian Highlands and flow southeast across Somalia to the Indian Ocean. The Juba River empties into an estuary near Kismayo and is about 800 km long, while the Shebelle River does not reach the ocean and ends in a swampy area near Gelib, being about 1,100 km long. These rivers and their tributaries have historically provided irrigation and agriculture to Somalia's breadbasket regions, though management has been challenging following the country's civil war.