It increased enforcement of immigration policies and offered amnesty to over 3 million undocumented immigrants.