The U.S. government cannot withhold funding from Philadelphia based on the city’s immigration policies, a federal judge ruled in a decision that rebuked the hard-line stance of President Donald Trump’s administration as “unconstitutional.”

On Wednesday, U.S. District Judge Michael Baylson of the Eastern District of Pennsylvania held in a 93-page ruling that U.S. Attorney General Jeff Sessions could not impose requirements that the city assist in Immigration and Customs Enforcement (ICE) roundups of undocumented immigrants as a condition of receiving a million-and-a-half dollars in federal grant money for local law enforcement.