The Mayor of Minneapolis has said ICE agents in the city are "creating chaos" after a Venezuelan man who was pursued by US immigration agents during a "targeted" traffic stop was shot in the leg by a federal officer.
Speaking after the shooting, Mayor Jacob Frey condemned the presence of ICE in the city and said the situation is "not sustainable".
"We cannot counter Donald Trump's chaos with our own brand of chaos," the mayor said.
"We have ICE agents throughout our city and throughout our state who, along with Border Patrol, are creating chaos.
"This is not the path that we should be on right now in America," Mayor Frey said.
The US Department of Homeland Security, which is overseeing President Donald Trump's crackdown on immigration, claimed the shooting came after two people attacked the federal agent with a sweeping brush and snow shovel as he wrestled with the Venezuelan man, who DHS said was in the United States illegally.
Watch: Protesters and police clash in Minneapolis
Protesters throwing rocks, ice and fireworks clashed with law enforcement agents who fired tear gas and crowd-control munitions late into the night following the shooting, which came a week after a US immigration officer fatally shot 37-year-old Renee Good, a US citizen, in her car in Minneapolis.
Law enforcement agents and protesters could be seen on dark streets obscured by clouds of tear gas and occasionally illuminated by beams from agents' headlamps and flashes from crowd-control munitions.
People in the streets near the shooting had thrown fireworks, ice and rocks at law enforcement and were "engaging in unlawful acts," Minneapolis police chief Brian O'Hara told a press conference at which he and Mayor Jacob Frey urged the crowds to disperse.
"We do not need this to escalate any further," Mr O'Hara said.
The US Department of Homeland Security, which oversees ICE, accused Mayor Frey and Minnesota Governor Tim Walz, both Democrats, of encouraging resistance to ICE with "hateful rhetoric," a contention Mr Frey rejected.

The latest shooting unfolded in sub-freezing weather yesterday evening when the Venezuelan man, who was targeted by federal law enforcement officers in the traffic stop, tried to get away and crashed his vehicle into a parked car, before fleeing on foot, according to a DHS statement.
A pursuing officer caught up with the man, who then "began to resist and violently assault the officer," the DHS said.
As they struggled, two people emerged from a nearby apartment and attacked the officer with a snow shovel and sweeping brush handle, it added.
The Venezuelan man broke loose and started striking the officer with one of the tools, DHS said.
DHS said the officer, who was "fearing for his life and safety", fired and wounded the Venezuelan man in the leg.
The wounded man and the two other fled into the apartment where they barricaded themselves before all were taken into custody, the government said.
The man who was shot and the officer were both hospitalized, the DHS said. A person familiar with the situation said the wounded suspect was in stable condition. The condition of the officer was not immediately known.

City on edge after killing of Renee Good
The city has been on edge since Ms Good, a mother of three, was shot dead behind the wheel of her car by an ICE agent on 7 January, during an encounter while taking part in a neighborhood patrol network of local activists tracking and monitoring the activities of federal officers.
Opponents of the ICE surge say Ms Good posed no physical threat to officers and they have disputed US government assertions that the agent who shot her feared she was trying to run him over.
Rather than end the ICE surge, as demanded by state and local leaders, the Trump administration instead said it would send hundreds more agents to bolster a force of about 2,000 deployed to the city earlier.
The latest shooting followed days of chaotic clashes in Minneapolis between heavily armed federal agents and civilians they stop in the streets, as well as with activists, such as Good, who have showed up to observe and record such encounters.
Agents appear to be conducting roving sweeps and arresting people without warrants, based on resident accounts and videos.
Reuters journalists have documented scores of agents carrying weapons through the icy streets of residential neighborhoods, wearing military-style camouflage gear and masks that cover their faces.
They are often met by residents blowing whistles and shouting at the officers.
On occasion, the agents have smashed car windows and pulled people from their vehicles, videos show.
Some have confronted non-white US citizens, demanding to see their identification before walking away, drawing angry jeers and accusations of racism from bystanders.
The agents have used chemical irritants on protesters, sometimes firing orange pepper spray into faces at close range or igniting flash-bang grenades near groups in the street.
Disputing accusations of misconduct, DHS has said its agents have increasingly been subject to assaults while trying to find and detain immigration violators.
DHS also has rejected accusations of racial profiling, saying arrests are based on reasonable suspicion that individuals lack legal immigration status.
Immigration officers have also arrested US citizens for allegedly disrupting enforcement. Groups of agents have chased protesters, including at least one dressed in a giraffe costume, before wrestling them to the ground to detain them.
The non-profit World Relief said dozens of weekend arrests of legal refugees in the state, including children, were part of an effort by President Trump to re-vet refugees who entered under Mr Trump's Democratic predecessor, Joe Biden.
Asked about such arrests, DHS referred to accusations of fraud against members of Minnesota's Somali community.
"The Trump administration will not stand idly by as the U.S. immigration system is weaponized by those seeking to defraud the American people," a DHS spokesperson said.
Mr Trump has seized on the fraud accusations, calling Somali immigrants in Minnesota "garbage" whom he wants deported. Administration officials have sought to tie the Minneapolis crackdown to the scandal.
Mr Trump, a Republican, has argued that large-scale surges in Democratic-led cities such as Minneapolis are necessary as authorities there do not sufficiently cooperate with immigration enforcement.
He has threatened to cut off federal funding next month for any state that includes sanctuary cities.