LAWRENCE, Mass. — A Massachusetts city is among the communities receiving a warning from President Trump’s administration as it seeks to crack down on so-called sanctuary cities.

Lawrence is among 23 jurisdictions including Chicago, New York City and Los Angeles that received a letter from the U.S. Department of Justice on Wednesday. The agency warned that it could use subpoena powers to compel the cities and states to prove they’re cooperating with immigration authorities.

The department has previously threatened to deny communities federal grant money if they refused to share such information.

Lawrence Mayor Dan Rivera says Wednesday’s letter came as a surprise because his administration responded to the agency in December. He says the city has helped federal authorities apprehend criminals living in the country illegally on at least nine recent occasions.