Its primo setting at the mouth of the Tagus River, which empties into the Atlantic, helped make Lisbon a cosmopolitan settlement from the days of Phoenician traders and North African rule.