 2000 also marked a significant shift in Spanish immigration laws; Law 4/2000 passed that year created mechanisms for family reunification, regularisation of illegal migrants, and acquisition of permanent residency.By 2008, official statistics showed 752,695 legal Moroccan residents of Spain.Beginning in September that year, Spanish authorities offered payments to unemployed immigrants if they agreed to cancel their residency and leave the country.