However, by far the main reason for the rise was immigration, which accounted for there being almost 25,000 more people living in Scotland last year than at the same time in 2009.