An appeals court panel on Thursday allowed the Trump administration to keep thousands of National Guard troops deployed in Los Angeles to quell anti-ICE riots.

The US Court of Appeals for the 9th Circuit issued the administrative stay just hours after a federal judge ruled that President Trump must “return control” of the Guardsmen to the state of California.

The Trump administration’s emergency appeal to the 9th Circuit was filed almost immediately after senior San Francisco US District Judge Charles Breyer allowed Democratic California Gov. Gavin Newsom to retake control of the roughly 4,000 National Guard members dispatched to LA at 3 p.m. ET Friday (noon local time).

The 9th Circuit’s stay allows Trump’s activation of the California National Guard to remain in effect through at least Tuesday, when the panel will hold a hearing on the matter.

Menu