CHICAGO (AP) — Chicago will keep fighting President Donald Trump’s immigration policies with a federal lawsuit alleging it’s illegal for the federal government to withhold public safety grants from so-called sanctuary cities, Mayor Rahm Emanuel announced Sunday.

The mayor said Chicago won’t “be blackmailed into changing our values, and we are and will remain a welcoming City.”

READ MORE: Maryland Weather: Cooler & Sunny, But Cloudy Skies On The Way

The lawsuit will be filed Monday.

Officials said there are new qualifications for a public safety grant requiring cities to share information with federal immigration authorities. City officials allege those qualifications are unconstitutional.

Chicago received about $2.3 million in such grants last year, which have been used for buying police vehicles.

READ MORE: Teens, 14 & 15, Shot Outside East Baltimore Gas Station

Chicago is being helped by two outside law firms on a pro bono basis.

Federal officials have threatened to withhold federal funding for sanctuary cities, saying they don’t comply with federal laws.

Asked to comment on Emanuel’s statement, U.S. Department of Justice spokesman Ian D. Prior said via email: “In 2016, more Chicagoans were murdered than in New York City and Los Angeles combined. So it’s especially tragic that the mayor is less concerned with that staggering figure than he is spending time and taxpayer money protecting criminal aliens and putting Chicago’s law enforcement at greater risk.”

Follow @CBSBaltimore on Twitter and like WJZ-TV | CBS Baltimore on Facebook

MORE NEWS: Hogan Calls On Franchot To 'Halt Or Minimalize' Pending Gas Tax Increase; Comptroller Says Executive Action Is Needed

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)