A man who opened fire on Philadelphia police officers Saturday killed someone before taking his own life, police said. The incident was Saturday's second high-profile attack on police. Earlier, a gunman attacked Dallas Police Department headquarters and died following a police ambush.

An armed male suspect in Philadelphia began shooting at police officers around 2 p.m. EDT. He then barricaded himself inside a home in the city's Port Richmond neighborhood, local media reported. The gunman fired at least two shots at police, striking a police vehicle although no officers were injured in the incident, police told WPVI-TV, Philadelphia.

A SWAT team responded to the scene and evacuated neighbors closest to the home. Shortly after 4:30 p.m., authorities said the situation was over, WPVI reported. They later told the station the man had killed someone before killing himself. The names of the victim and suspect were not released.

The shootout came just hours after a separate attack in Dallas was winding down. A man who identified himself as James Boulware rammed his armored van into police cars shortly after midnight, local time, then fired at the vehicles and at officers before fleeing down an Interstate 45 service road. The chase ended at a Jack in the Box restaurant in Hutchins, Texas.

A sniper shot the man through the van's windshield. The Dallas Police Department confirmed the man was dead around 2 p.m. EDT. Police found and detonated explosives in the van, setting it ablaze.

Dallas SWAT technicians meanwhile investigated five suspicious packages left near police headquarters, two of which contained pipe bombs. Technicians detonated one of the bags while the other exploded on contact. The three remaining bags were cleared, a police representative confirmed.

Philadelphia police had not confirmed a motive for Saturday's murder-suicide in Port Richmond.