Denmark is a historically homogeneous nation. However, as with its Scandinavian neighbours, Denmark has recently transformed from a nation of net emigration, up until World War II, to a nation of net immigration. Today, residence permits are issued mostly to immigrants from other EU countries (54% of all non-Scandinavian immigrants in 2017). Another 31% of residence permits were study- or work-related, 4% were issued to asylum seekers and 10% to persons who arrive as family dependants. Overall, the net migration rate in 2017 was 2.1 migrant(s)/1,000 population, somewhat lower than the United Kingdom and the other Nordic countries.