SAN FRANCISCO (AP) – A federal judge has refused to reinstate President Donald Trump’s executive order to cut funding from cities that limit cooperation with U.S. immigration authorities.

U.S. District Court Judge William Orrick in San Francisco made the ruling Thursday.

READ MORE: Is DFW The New Mecca For High School Hoops?

The U.S. Department of Justice had asked Orrick to reverse his own injunction in April against Trump’s executive order. The injunction was issued in response to lawsuits by San Francisco and Santa Clara County.

Attorney General Jeff Sessions wrote a memo in May saying the executive order should be applied narrowly to a small number of grants and to very specific violations of immigration law.

READ MORE: Man And Woman Shot Outside Arlington Barber Shop

The Justice Department said the memo negated the need for Orrick’s injunction.

Orrick said he found this unconvincing because Sessions could reverse himself at any moment.

MORE NEWS: Postal Service Says Its Ready To Deliver This Holiday Season With New, Faster Sorting Machines

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