These were eventually settled by the Treaty of Tordesillas in 1494 which divided the world outside of Europe in an exclusive duopoly between the Portuguese and the Spanish, along a north–south meridian 370 leagues, or 970 miles , west of the Cape Verde islands.