Almost half of the total funding—some $23 billion—came from cutting aid to legal immigrants. For years, permanent residents and green-card holders had received federal relief. The bill would end that, making them ineligible for welfare, aid to families with dependent children, supplementary security income, food stamps, and Medicaid.

