Demographic history of Scotland towns had populations of over 10,000, with the capital, Edinburgh, the largest with 57,000 inhabitants. The Highland and Lowland Clearances led to the depopulation of rural areas, but overall the population of Scotland grew rapidly in the late eighteenth and nineteenth centuries. By 1801 it had reached 1,608,420 and it grew to 2,889,000 in 1851 and 4,472,000 in 1901. By the beginning of the twentieth century, one in three lived in the four cities of Glasgow, Edinburgh, Dundee and Aberdeen. Glasgow emerged as the largest city, with a population of 762,000 by 1901, making it "the Second City of the
Scotland in the Late Middle Ages married Margaret of Denmark, receiving the Orkney Islands and the Shetland Islands in payment of her dowry. However, in 1482 Berwick, a border fortress and the largest port in medieval Scotland, fell to the English once again, for what was to be the final change of hands. Because medieval Scotland lacked the intrusive government and growing bureaucracy that can be found in contemporaneous England, there is very little evidence on which to base reliable estimates of population before the early 18th century. On the basis that it had roughly a sixth of the farmable land of England, it has been