The description you provided about preventing people from other nations from immigrating to the United States and sending illegal immigrants back aligns best with the following answer choice:
The object of these acts was to extend the residency time for foreigners to become citizens from two years to 10 years.
This option relates to immigration policies that impact residency and naturalization processes. The other two options seem to focus more on suppressing dissent or preventing specific actions against government authority, rather than directly addressing immigration.