Chicago Mayor Rahm Emanuel said Sunday the city would sue the administration of President Donald Trump in the wake of threats to withhold millions of dollars in federal grants from so-called sanctuary cities.

Reuters reports that Chicago stands to lose $3.2 million worth of funding as a result of the Justice Department barring cities who do not co-operate with immigration agents — including by allowing them unfettered access to their jails — from receiving Edward Byrne Memorial Justice Assistance Grants.

Hundreds of American cities currently benefit from the grants, which provide federal criminal justice funding for equipment and law enforcement training.

“Chicago will not let our police officers become political pawns in a debate,” Emanuel said at a news conference, according to Reuters. “Chicago will not let our residents have their fundamental rights isolated and violated. And Chicago will never relinquish our status as a welcoming city.”

Read more: New Justice Department Rules Crack Down on Sanctuary Cities

Emanuel added that the federal lawsuit seeks to prevent the Trump administration from setting a precedent that could be used to target other types of funding.

Chicago’s lawsuit is the first of its kind to challenge the Justice Department’s new Byrne program policy, according to Reuters, though other cities may soon follow suit. California Attorney General is reportedly mulling similar legal action.

[Reuters]

Get our Politics Newsletter. The headlines out of Washington never seem to slow. Subscribe to The D.C. Brief to make sense of what matters most. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Joseph Hincks at joseph.hincks@time.com.