The Niger takes one of the most unusual routes of any major river, a boomerang shape that baffled European geographers for two millennia. Its source is just 150 miles (240 km) inland from the Atlantic Ocean, but the river runs away from the sea into the Sahara Desert, then takes a sharp right turn near the ancient city of Timbuktu (Tombouctou), Mali and heads southeast to the Gulf of Guinea.