text: It has been an important settlement since the 14th century and was the largest port in Scotland for many years , handling Edinburgh 's cargo .
  
  ###
  
  It was the largest port in Scotland for many years .