The hours-long drama began soon after midnight when the suspect, who identified himself to police as a man who had a history of delusions and criminal charges, riddled the  headquarters with bullets, police said.

He left behind at least two devices in duffle bags that later exploded, police said. The attack shattered windows and left bullet holes in the building walls and in squad cars parked outside.

The assailant, driving what police said appeared to be an armored van, then rammed a patrol car and led police on a high-speed chase to a fast-food restaurant in Hutchins, about 10 miles (16 km) south of the city, where he was later killed.

He was believed to have acted alone, motivated by personal grievances, and had no known connection to any terrorist groups, Dallas Police Chief David Brown said.

No one except the suspect was injured or killed, although a barrage of gunfire narrowly missed officers and staff, the chief said.

"I believe we're blessed that our officers survived this ordeal," Brown told reporters. "We literally dodged a bullet."

He said the man whom police negotiators had spoken with inside the van identified himself as James Boulware, but police declined to name the suspect pending identification by a medical examiner.

A check of public records showed that Boulware, 35, had faced several criminal charges including assault on family members. Brown said the man had blamed police for causing him to lose custody of his son and had believed officers accused him of being a terrorist.

Jeannine Hammond, Boulware's mother, told Dallas NBC affiliate KXAS-TV that her son was mentally ill and "heard voices."

Latest News from World News Desk