Federal judges in Portland, Oregon and Washington, DC held hearings on Friday in legal battles over the deployment of National Guard troops to the US cities, as President Donald Trump seeks to expand his rare use of the US military for domestic purposes.

In Portland, Justice Department lawyers asked US District Judge Karin Immergut to lift the second of her two orders restricting Trump’s attempts to send troops to the city. This week, an appeals court ruled the president likely has the authority to do so.

Immergut did not immediately issue a ruling on the Trump administration’s request. The judge said she would decide by Monday.

In Washington, US District Judge Jia Cobb was considering a challenge to Trump’s deployment of about 2,500 National Guard troops to the nation’s capital. The local government argues the Guard has improperly been serving as a “federally run police force.”

Trump has sought to deploy National Guard troops to cities run by Democratic officials, saying they are needed to protect immigration enforcement operations, suppress protests, and fight crime over the objections of local elected leaders.

Troops are on the ground in Los Angeles and Washington, DC, and Trump has announced plans to send them to other cities, including Portland and Chicago.

States and cities have filed lawsuits to block the deployments, arguing they are based on exaggerated descriptions of crime and chaos. Courts have yet to issue final rulings on whether the actions are lawful.

JUDGE BLOCKS NATIONAL GUARD FROM PORTLAND

In Portland, Immergut on October 4 blocked Trump from taking control of Oregon’s National Guard and sending troops to Portland. The next day, after Trump attempted to circumvent that order by sending troops from California and Texas to Portland, the judge barred deployment of troops from any state, including Oregon.

Both orders were preliminary and based on the judge’s initial assessment that there was no evidence that protests in Portland seriously interfered with federal law enforcement. Immergut has scheduled a trial next week on the merits of troop deployment.

A three-judge panel of the 9th US Circuit Court of Appeals this week paused Immergut’s October 4 order while the court battle plays out. But troops have not yet deployed to Portland because the October 5 order remains in effect.

Jacob Roth, a Justice Department lawyer, asked Immergut to lift her October 5 order in light of the 9th Circuit panel’s ruling, despite the state’s request for a larger panel of appellate judges to review the case.

“The prospect of further review does not deprive them of their weight in the meantime,” Roth said.

If Immergut, who was appointed by Trump during his first term, agrees, the administration could move forward with the deployment.

State and local officials say Trump’s action violates several federal laws that govern the use of military forces as well as the states’ rights under the US Constitution’s 10th Amendment.

Oregon has argued the three-judge 9th Circuit panel, which included two Trump-appointed judges, got it wrong. The state’s lawyer Scott Kennedy asked Immergut to maintain the status quo ahead of next week’s trial.

“There is at least good reason to pause and await finality,” Kennedy said.

TROOPS DEPLOYED IN DC

The case before Cobb in Washington hinges in part on how to interpret the Home Rule Act, a law passed by the US Congress in 1973 that gave Washington residents more control over the city’s affairs and the ability to elect a mayor and city council.

The president has more power over law enforcement in Washington than the rest of the country, because of the area’s unique status as a federal district that is not part of any state.

But local politicians in Washington have argued that no US law authorizes such a “unprecedented application of military power in an American city.”

Trump has said the National Guard’s presence in Washington was necessary to “rescue” the city of 700,000 residents from a wave of lawlessness. Crime levels in Washington were falling before Trump deployed troops, according to the city’s police force.