Dallas Police respond after shots were fired at a Black Lives Matter rally in downtown Dallas on Thursday, July 7, 2016

Here are the latest updates:

Snipers opened fire on police officers in Dallas, killing five officers and injuring seven others during protests over two recent fatal police shootings of black men, police said.

One suspect exchanged gunfire with police and was arrested early on Friday morning. A suspicious package was found near the suspect and a bomb squad had begun investigating the threat.

Two others were taken into custody early Friday morning, and during a standoff with police, a fourth told officers bombs were planted all across the city.

After a lengthy standoff with police, the suspect is believed to have been killed by a police bomb robot. Earlier reports suggested he had shot himself.

The shooter said he "wanted to kill white people, especially white officers," Dallas Police Chief David Brown told reporters.

Earlier, the suspect said "more will die" and claimed to have planted explosives throughout the area. No explosives were found in two searches of the downtown area.

Police officers killed by sniper at protests in Dallas Show all 20 1 /20 Police officers killed by sniper at protests in Dallas Police officers killed by sniper at protests in Dallas A Dallas Area Rapid Transit police officer receives comfort at the Baylor University Hospital emergency room entrance in Dallas Dallas Morning News/AP Police officers killed by sniper at protests in Dallas Emergency services help an unknown patient on a stretcher as law enforcement officials stand nearby at the emergency receiving area of Baylor University Medical Center AP Police officers killed by sniper at protests in Dallas Dallas Police shield bystanders after shots were fired, during a protest over two recent fatal police shootings of black men AP Police officers killed by sniper at protests in Dallas Bystanders run for cover after shots fired at a Black Live Matter rally in downtown Dallas AP Police officers killed by sniper at protests in Dallas Police check a car after snipers opened fire on police officers in Dallas AP Police officers killed by sniper at protests in Dallas A man raises his hands as he walks near a law enforcement officer, following the shootings of several police officers in downtown Dallas AP Police officers killed by sniper at protests in Dallas A Dallas police officer steps out of a vehicle as he arrives in front of Baylor University Medical Center AP Police officers killed by sniper at protests in Dallas Dallas police officers face protesters on the corner of Ross Ave. and Griffin street after police officers were shot during a peaceful protest in Dallas EPA Police officers killed by sniper at protests in Dallas A Dallas police officer covers his face as he stands with others outside the emergency room at Baylor University Medical Center AP Police officers killed by sniper at protests in Dallas Law enforcement officials escort a couple in through the emergency room entrance at Baylor University Medical Center AP Police officers killed by sniper at protests in Dallas Dallas Police respond after shots were fired at a Black Lives Matter rally in downtown Dallas AP Police officers killed by sniper at protests in Dallas Dallas Police respond after shots were fired at a Black Lives Matter rally in downtown Dallas AP Police officers killed by sniper at protests in Dallas Police cars sit on Main Street in Dallas following the sniper shooting during a protest AFP/Getty Images Police officers killed by sniper at protests in Dallas A Police officer stands guard at a barricade following the sniper shooting in Dallas AFP/Getty Images Police officers killed by sniper at protests in Dallas Police stand near a barricade following the sniper shooting in Dallas AFP/Getty Images Police officers killed by sniper at protests in Dallas Dallas police check a car after detaining a driver after a shooting in downtown Dallas AP Police officers killed by sniper at protests in Dallas Dallas police order people away from the area after several police were shot in downtown Dallas AP Police officers killed by sniper at protests in Dallas Dallas police move to detains a driver after several police officers were shot in downtown Dallas AP Police officers killed by sniper at protests in Dallas Dallas police detain a driver after several police officers were shot in downtown Dallas AP Police officers killed by sniper at protests in Dallas Dallas Police respond after shots were fired at a Black Lives Matter rally in downtown Dallas Dallas Morning News/AP

The gunfire broke out around 8:45 p.m. Thursday while hundreds of people were gathered to protest fatal police shootings this week in Baton Rouge, Louisiana, and suburban St. Paul, Minnesota. Police Chief Brown told reporters the snipers fired "ambush style" upon the officers. Mayor Mike Rawlings said one member of the public was wounded in the gunfire.

Protests were also held in several other cities across the country Thursday night after a Minnesota officer on Wednesday fatally shot Philando Castile while he was in a car with a woman and a child. The aftermath of the shooting was livestreamed in a widely shared Facebook video. A day earlier, Alton Sterling was shot in Louisiana after being pinned to the pavement by two white officers. That, too, was captured on a mobile phone video.

Video footage from the Dallas scene showed protesters were marching along a street in downtown, about half a mile from City Hall, when the shots erupted and the crowd scattered, seeking cover.