RELATED: SF Mayoral Candidate Angela Alioto defends sanctuary city reform initiative
U.S. District Judge Michael Baylson issued a 93-page memo Wednesday, saying the conditions placed on the city by the federal government in order to receive the funding are unconstitutional, "arbitrary and capricious." He also wrote that Philadelphia's policies are reasonable and appropriate.
RELATED: Pres. Trump blasts Oakland mayor, sanctuary policies
Philadelphia has said as a "sanctuary city" it will only turn over immigrants to Immigration and Customs Enforcement if they have a warrant signed by a judge. The city was fighting federal efforts to block funding as a result of the policy.
A federal appeals court in April sided with Chicago in a similar dispute.
Click here for more videos and stories about sanctuary cities.