The gunman who opened fire on Dallas police officers last night has been identified as Micah Xavier Johnson, 25, Associated Press reported. 

Johnson was killed by a police bomb robot that detonated a device near him during a standoff at El Centro College.

At least five police officers were killed, with seven more wounded. The Dallas police chief described the statements made by Johnson during negotiations. 

"He said he was upset about Black Lives Matter", said police chief David Brown, adding that the shooter said he wanted to kill white people and police officers.

According to reports, Johnson was a resident of the Dallas area.

The L.A. Times reported:

Johnson had no known criminal history or ties to terror groups, the official said, and has relatives in Mesquite, Texas, which is just east of Dallas.The official said federal agents were assisting Dallas authorities in the investigation.

Authorities believe Johnson belonged to an informal gun club and took copious amounts of target practice, according to a law enforcement official.

Johnson enlisted in the Army Reserve in 2009, deploying to Afghanistan in Nov. 2013 until July 2014. He was honorably discharged in 2015, according to Fox News correspondent Jennifer Griffin.

A man who served with Johnson told Fox News that when he returned from Afghanistan, "he got in touch with some bad folks and went all Black Panther."

The Black Lives Matter condemned Johnson's actions. 

LATEST: Dallas Ambush Suspect Killed by Bomb Robot; 'Wanted to Kill White People'

WATCH: Witnesses Capture Dallas Police Ambush; Point-Blank Shooting

WATCH: Obama Condemns 'Despicable' Attack on Cops, Brings Up Guns