DALLAS: The gunman who opened fire on Dallas officers during a protest against US police brutality, leaving five dead and seven others wounded, told negotiators he wanted to kill white cops, the city´s police chief said Friday.
Two civilians were also shot and wounded in the chaotic fray late Thursday in the sprawling Texas city, one of many places across the United States where protests had erupted over the fatal police shootings of two black men earlier this week.
US media identified the shooter as 25-year-old Micah Johnson, a black resident of a Dallas suburb who reportedly served in the US Army Reserves until last year. He had no prior criminal record or ties to extremist groups, the reports said.
President Barack Obama called the Dallas sniper-style ambush a "vicious, calculated and despicable attack on law enforcement," pledged that those responsible would be held accountable and urged national unity.
"Dallas officers are hurting. We are heartbroken. There are no words to describe the atrocity that occurred to our city," police chief David Brown told reporters.
The shootings sparked chaotic scenes of people running for their lives during a march by several hundred demonstrators in the city of roughly 1.2 million people, not far from the site where president John F. Kennedy was assassinated in 1963.
The primary suspect was killed in a tense showdown with police in a parking garage, by a bomb robot sent in by officers after an exchange of gunfire and hours of negotiations, authorities confirmed.
An unspecified number of suspects in custody, including one black woman, were "not being real cooperative," Dallas Mayor Mike Rawlings said. Earlier, officials said three people had been detained.
It was the single biggest loss of life for law enforcement in America since the September 11, 2001 attacks, and appeared likely to further strain already tense race relations in the country.
"This must stop – this divisiveness between our police and our citizens," Brown said.
'He wanted to kill white people'
CNN broadcast what it said was a photograph of the suspect, a black man with a closely trimmed beard shown with his fist raised and wearing an African-style print tunic.
Before the suspect – described only as "male" so far by officials – was killed, Brown said he revealed some of his possible motives to negotiators.
"He said he was upset about the recent police shootings. The suspect said he was upset at white people. The suspect stated he wanted to kill white people, especially white officers," Brown said.
The gunman told police he was not affiliated with any organised groups.
Rawlings said authorities determined the robot bomb was the best way to end the standoff.
"He was saying he was going to take everybody out. He threatened other bombs and we felt that was the safest way to get in and it was," Rawlings said.
Sweeps have been completed and no explosives were found, Dallas police major Max Geron said on Twitter.
'Pandemonium'
One witness in Dallas spoke of the chaos that erupted as the rally was winding up. Shots rang out around 9:00 pm (0200 GMT Friday), causing panic among the protesters, who scrambled to take cover.
"There was blacks, whites, Latinos, everybody. There was a mixed community here protesting. And this just came out of nowhere," Cory Hughes, a protest organiser, told CNN.
"It's almost like the gunshots were coming at us," Hughes said. "It was complete pandemonium... It´s bananas."
Brown initially said police believed at least two snipers had shot at police ambush-style from high vantage points. It was unclear Friday morning if authorities still believed there was more than one shooter.
Earlier, Brown said three suspects had been taken into custody -- a woman and two men found with camouflage bags in a car.
Dramatic video of the shooting emerged from witnesses, who posted the footage online. Deafening bursts of gunfire and police sirens can be heard.
In one video, posted by Twitter user allisongriz, a witness can be heard saying: "Oh, my God. There are people laying on the ground. I hope they´re just hiding."
Parts of downtown Dallas were closed off for hours, with no bus or rail service and flight restrictions in effect.
Outside Parkland Hospital, police saluted their fellow officers who lost their lives or were wounded in the shooting. Other people later joined the officers for an impromptu vigil.
'All lives matter'
The Dallas protest was one of several nationwide over the deaths of Alton Sterling in Louisiana and Philando Castile in Minnesota that prompted Obama to make an emotional appeal for urgent police reform.
Thousands marched in Atlanta, Chicago, Los Angeles, Saint Paul, Washington and other cities late Thursday, with more than 1,000 protesters gathering in New York´s Times Square.
Obama also made it clear that violence against police had "no possible justification."
"There is no contradiction between us supporting law enforcement... and also saying that there are problems across our criminal justice system, there are biases -- some conscious and unconscious -- that have to be rooted out," Obama said.
"So when people say ´Black Lives Matter,´ that doesn´t mean blue lives don´t matter — it just means all lives matter," he said in Poland, where he was attending a NATO summit.
He ordered all flags on government buildings lowered to half-mast until Tuesday.
Rawlings, the Dallas mayor, called it a "heartbreaking morning."
"We as a city, we as a country, must come together, lock arms and heal the wounds that we all feel from time to time. Words matter. Leadership matters at this time," he said.