Dec. 30 (UPI) -- A federal judge ruled that Immigration and Customs Enforcement officials can access Medicaid data to find immigrants who are in the United States illegally.

By law, undocumented immigrants can't access Medicaid benefits, though some states have state-funded plans for everyone.

In July, 20 states filed a lawsuit challenging the policy of the Department of Health and Human Services allowing the Department of Homeland Security "unfettered access" to Medicaid health data.

The states are asking the court to declare that HHS's transfer of Medicaid data to DHS is unauthorized and block its use for the purposes of immigration enforcement.

Related