President Donald Trump on Thursday said he would withhold money from sanctuary cities after a U.S. court ruled that his administration could block federal law enforcement funds to states and cities that do not cooperate with federal immigration authorities.

"As per recent Federal Court ruling, the Federal Government will be withholding funds from Sanctuary Cities. They should change their status and go non-Sanctuary. Do not protect criminals!" Trump tweeted, but gave no other details.

The 2nd U.S. Circuit Court of Appeals in Manhattan granted the move on Feb. 26, but three other federal appeals courts have agreed to uphold an injunction against the withholding of such funds, setting up a possible appeal to the U.S. Supreme Court.

Trump, who is seeking re-election in the Nov. 3 election, has taken a hardline stance toward legal and illegal immigration. His battle against Democrat-led sanctuary jurisdictions focuses on laws and policies that limit local law enforcement cooperation with federal U.S. Immigration and Customs Enforcement (ICE) officials.

Cities and states that oppose such cooperation say it can discourage immigrants from coming forward to report crimes to law enforcement because of fears about their immigration status.

Since the beginning of his administration Trump has tried to slash specific law enforcement grants to places that don't comply with ICE requests for information, but his efforts have been challenged in court.

One such "sanctuary" policy opposed by the administration is a refusal by local jails to hold immigrants in the country illegally in detention beyond their scheduled release times so ICE officials can pick them up and process them for deportation.

Some officials in non-cooperative jurisdictions argue the requests are voluntary and honoring such "detainer" requests means holding people without a constitutionally valid reason.

The 2nd Circuit overturned a lower court ruling directing the release of federal funds to New York City and the states of New York, Connecticut, Massachusetts, New Jersey, Rhode Island, Virginia and Washington.

Three federal appeals courts in Chicago, Philadelphia and San Francisco have upheld injunctions barring enforcement of at least some of the administration's conditions on the funds.

In addition to the funding threats, the administration is now opening up new fronts in the battle against the cities, filing lawsuits and issuing subpoenas in what Attorney General William Barr called part of a "significant escalation" in the fight against uncooperative jurisdictions.