Edward III and Berwick-upon-Tweed
The reason for Leith becoming the principal port for Scotland was the sacking and burning of Berwick in 1296 and the capture of Berwick in 1333 by Edward III who replaced the Scottish population by English shown above. From Froissart 14th century chronicles