A US federal judge has temporarily blocked the Trump administration from deploying National Guard troops from Texas and California to Portland, Oregon.

The decision late on Sunday comes after the same court denied Trump's attempt to deploy Oregon's own National Guard members to Portland.

Portland is the latest Democrat-led city targeted as part of the president's attempt to address what he says is out-of-control crime, amid protests over his administration's immigration enforcement.

Trump has also authorised the deployment of National Guard troops from other states to Chicago in Illinois, to address what he says is out-of-control crime.

The ruling on Sunday from US District Judge Karin Immergut came shortly after the Pentagon confirmed 200 members of the California National Guard had been reassigned to Portland to support US Immigration and Customs Enforcement and other federal personnel performing official duties.

California and Oregon had sought a temporary restraining order against the deployment.

Judge Immergut, who was appointed by Trump, said there was no evidence that recent protests in the city made the presence of federalised National Guard troops necessary.

During Sunday's emergency hearing, she pressed lawyers from the federal government on how the deployment of troops from other states was not simply a way to circumvent her earlier decision denying the deployment of Oregon's National Guard.

In that decision, she said the use of the military to quell unrest without Oregon's consent risked the sovereignty of that state and others, and inflamed tensions in the city of Portland.

Sunday's ruling will remain in effect until at least 19 October. The White House is yet to respond.

In previous remarks, the Trump administration had said the president was exercising his lawful authority to protect federal assets and personnel in Portland following violent riots and attacks on law enforcement.

Meanwhile, Illinois Governor JB Pritzker said late on Sunday night that Trump was ordering 400 members of the Texas National Guard for deployments to Illinois, Oregon, and other locations within the United States. In a statement, the governor called the proposed deployment Trump's invasion, and said there was no reason to send troops into any state without the knowledge, consent, or cooperation of local officials.

Pritzker also called on Texas Governor Greg Abbott to immediately withdraw any support for this decision and refuse to coordinate.

In response, Abbott said he fully authorized Trump's decision to call up the Texas National Guard to ensure safety for federal officials.

Like Portland, Chicago has seen protests over increased immigration enforcement. On Saturday, protests became violent, with immigration authorities saying they opened fire on an armed woman after she and others allegedly rammed their cars into law enforcement vehicles.

Protests have been ongoing in Portland and other cities over the Trump administration's increased immigration enforcement. Portland, in particular, has long drawn Trump's ire over its alleged concentration of people his supporters describe as Antifa, short for anti-fascist. The president recently signed an executive order designating the group, which is a loosely organised movement of far-left activists, as a domestic terrorist organisation.