Between 2002 and 2014, Spain received an accumulated immigration inflow of 7.3 million and a net flow of 4.1 million, making it the second-largest recipient of immigrants in absolute terms among OECD countries, following the United States.