The main purpose of this legislation is to prevent federal funding from being allocated to congressional earmarks for states or local governments that are designated as "sanctuary jurisdictions." Sanctuary jurisdictions are areas that have policies limiting cooperation with federal immigration enforcement, particularly regarding the sharing of information about individuals' immigration status. Key provisions of the legislation include a clear prohibition on the use of federal funds for earmarks aimed at sanctuary jurisdictions.