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 Middle Ages and industry remained relatively undeveloped before the end of the Middle Ages and, although there were extensive trading networks based in Scotland, while the Scots exported largely raw materials, they imported increasing quantities of luxury goods, resulting in a bullion shortage and perhaps helping to create a financial crisis in the fifteenth century. There are almost no written sources from which to re-construct the demography of early Medieval Scotland. Estimates have been made of a population of 10,000 inhabitants in Dál Riata and 80–100,000 for Pictland. It is likely that the 5th and 6th centuries saw higher mortality rates due