A man who attacked the headquarters of the Dallas Police Department with gunfire and explosives early on Saturday was killed by police snipers during a standoff, authorities said.

The hours-long drama began soon after midnight when the suspect riddled police headquarters with bullets and 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's 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.