California Gov. Gavin Newsom filed a temporary restraining order on Tuesday to block the Trump administration from deploying the military in Los Angeles.

The order asked a district court to block Donald Trump and Defense Secretary Pete Hegseth from mobilizing Marines and National Guard members in response to ongoing protests of Immigration and Customs Enforcement raids in Southern California.

“Trump is turning the U.S. military against American citizens. The courts must immediately block these illegal actions,” Newsom said in a post to X.

Newsom filed the temporary restraining order on Monday, arguing that Trump’s deployment of the National Guard and Marine Corps without the state’s consent is “unlawful” and “unprecedented.” The lawsuit argues that, unchallenged, these actions could set a precedent for the rest of the country with “devastating consequences.”