Image copyright PA

Scotland's population reached its highest ever total in 2014.

Statistics published by the National Records of Scotland (NRS) showed that the estimated population of Scotland was 5,347,600 in mid-2014.

The figures showed a rise of 19,900 (0.4%) people since mid-2013.

About 3,500 more people were born than died and in-migration, which includes people from the rest of the UK, exceeded out-migration by about 17,600 between mid-2013 and mid-2014.

Other changes, such as in armed forces and prisoners, resulted in a loss of about 1,200 people.

Between mid-2013 and mid-2014, approximately 49,240 people came to Scotland from the rest of the UK, and about 39,660 left Scotland to go in the opposite direction, giving a net migration gain of about 9,600.

Over the same period, 33,200 people came to Scotland from abroad and 25,200 left Scotland to go overseas, giving a net migration gain of 8,000, which represents about 1 in 700 (0.14%) of the total population.

Other key facts: