Shots were fired from “elevated positions” in downtown Dallas during the protest, with witnesses claiming as many as 20 shots could be heard before they were asked to leave the area.
One shooter, wearing tactical gear and a bullet proof vest and armed with a rifle, surrounded by police in a nearby parking garage was blown up following a two hour siege.
The gunman told police he was not linked with any group and said he was angry about the recent shootings in the US and wanted to kill white police officers.
Police chief David Brown said: “We’re hurting, our profession is hurting, Dallas officers are hurting.
“We are heartbroken. There are no words to describe the atrocity that occurred to our city.
“All I know is that this must stop. This divisiveness between our police and our citizens.
“We cornered one suspect and we tried to negotiate for several hours. Negotiations broke down and we had an exchange of gunfire with suspect.
“We saw no other option but to use our bomb robot and place a device on its extension for it to detonate where the suspect was.
“Other options would have exposed our officers to grave danger.
“The suspect is deceased as a result of detonating the bomb.
“Our hostage negotiator did an exceptional job getting this suspect to talk before he died, during the hours of negotiation.
“I want to share with you some of the comments from the suspect.
“He was upset about the recent police shooting. He said he was upset at white people, the suspect stated he wanted to kill white people, especially white officers
“He stated we will eventually find the IEDs.
“The suspect stated he was not affiliated with any groups and he stated that he did this alone.”
A bomb squad unit was investigating a suspicious package found near one of the suspect’s locations.