CHICAGO (AP) — Attorneys for Chicago are asking a federal judge to stop President Donald Trump’s administration from withholding public safety grants from cities and counties that provide sanctuary to immigrants in the country illegally.

In a hearing on Monday, attorney Ronald Safer asked U.S. District Judge Harry Leinenweber for a “nationwide” temporary injunction” to prevent the Justice Department from withholding public safety grants from cities and counties unless they agree to enforce federal immigration laws.

Leineweber did not rule on Monday and it is not clear when he will decide.

During the hearing, an attorney for the city said the new requirements for the federal grants are unconstitutional. A Justice Department attorney countered that Attorney General Jeff Sessions has the authority to impose the rules.