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 is no longer the largest port in Scotland.  
mnli hypothesis: It is no longer the largest port in Scotland.   premise: It has been an important settlement since the 14th century and was the largest port in Scotland for many years, handling Edinburgh's cargo.