Immediately after the Second World War, the Swedish Social Democratic government launched a number of far-reaching social and economic programmes which led to the development of a modern welfare state. At the same time that social policy was increasingly focused towards developing a welfare system, its foreign policy developed in a new direction. The Swedish wartime refugee policy has been characterized as restrictive. But by the time the war had ended, there were approximately 185,000 refugees in Sweden. Most of those refugees went 'home' in 1945 but some of them stayed and in the early postwar years, foreigners were also 'imported' as workers as a result of labour shortages. One could say that Sweden's development into a country of immigration was contemporaneous with its development into a welfare state.