Los Angeles is trying to join California’s lawsuit against the Department of Justice (DOJ) for threatening to withhold funding from sanctuary cities.

The city filed legal claims in federal court Tuesday to join a lawsuit filed by the state and the city of San Francisco earlier this month over new policies on cooperating with federal authorities on undocumented immigrants, Reuters reported.

Los Angeles called the policies "unconstitutional on their face” in the court filing.

ADVERTISEMENT

A federal judge would have to approve Los Angeles joining the suit. If the city is approved, it will become the third major city to sue the Trump administration over the sanctuary city funding threats.

Attorney General Jeff Sessions Jefferson (Jeff) Beauregard SessionsGOP set to release controversial Biden report Trump's policies on refugees are as simple as ABCs Ocasio-Cortez, Velázquez call for convention to decide Puerto Rico status MORE announced last month that DOJ would withhold law enforcement grants from cities that don’t allow federal authorities to access detention centers or give 48 hours notice to feds before releasing undocumented immigrants who have been arrested.

Sessions ripped the city of Chicago over its lawsuit earlier this month.

“This administration will not simply give away grant dollars to city governments that proudly violate the rule of law and protect criminal aliens at the expense of public safety. So it’s this simple: Comply with the law or forego taxpayer dollars," Sessions said.

Los Angeles, unlike San Francisco, has not adopted an official sanctuary city policy, but Mayor Eric Garcetti (D) said last month that President Trump's immigration policies will make L.A. "less safe."

“What they’re asking the city to do is in violation of the Constitution,” Garcetti told BuzzFeed.