The trial in San Francisco could set a precedent for how Trump can deploy the guard in the future in California or other states

A deputy commanding general testified on Monday that military forces called in to help with immigration raids in Los Angeles were allowed to take some police actions despite a federal law that prohibits the president from using the military as a domestic police force.

Major General Scott Sherman said military tapped to help with domestic operations can protect federal property and federal agents in their mission of carrying out federal operations.

He said they could take certain police actions, such as setting up a security perimeter outside federal facilities, if a commander on the ground felt unsafe.

The trial in San Francisco could set a precedent for how Trump can deploy the guard in the future in California or other states.