Jacksonville Sheriff Mike Williams addresses the shooting of two officers by Derrick Brabham with a photo of his semi-automatic rifle at the Police Memorial Building on Saturday August 19, 2017 in Jacksonville, Florida. Brabham, who died from his wounds, shot officers Kevin Jarrell, in the abdomen, and Michael Fox, in the hand. (Bruce Lipsky/Florida Times-Union)
Jacksonville Sheriff Mike Williams addresses the shooting of two officers by Derrick Brabham with a photo of his semi-automatic rifle at the Police Memorial Building on Saturday August 19, 2017 in Jacksonville, Florida. Brabham, who died from his wounds, shot officers Kevin Jarrell, in the abdomen, and Michael Fox, in the hand. (Bruce Lipsky/Florida Times-Union) Credit: Bruce Lipsky

Two officers were killed and two others were injured in two separate Florida shootings that took place on Friday night, outbreaks of violence against police that reverberated across the nation.

The first shooting happened in Kissimmee, Fla., just south of Orlando. Officers were responding to a report of suspicious activity in a high-crime area when they were taken by surprise, officials said.

The second shooting, about 90 minutes later in Jacksonville, left two officers injured. Police were dispatched to deal with an armed suicidal man when he came out firing.

All the shootings were “deflating to law enforcement and heartbreaking,” Kissimmee Chief Jeff O’Dell told reporters, shortly after he announced that officer Matthew Baxter had died of his injuries. Sgt. Sam Howard died on Saturday, police announced on Facebook on Saturday afternoon.

About 9:30 p.m. on Friday, Baxter and Howard were on patrol in a neighborhood in the north part of the city where police were trying to crack down on heightened drug activity.

The officers were searching several suspects when they got into a scuffle with one, who opened fire, O’Dell said at the news conference.

The officers didn’t have time to return fire, O’Dell said. “It looked like they were surprised by the gunfire.”

Police began searching for the shooter and announced on Saturday morning that they’d arrested Everett Miller, who is charged with murder.

As investigators learned more about Miller, O’Dell said he was disheartened to learn that the suspect had posted violent anti-police comments on social media and that no one had reported it to authorities. O’Dell didn’t detail the comments.

Nearly two hours later and 165 miles north, police officers in Jacksonville were summoned to a home on the city’s west side to defuse a situation involving a suicidal man armed with a gun, according to the Florida Times-Union. There was an extra element of danger: Dispatchers told the officers three other people were inside the home with the armed man.

As a team of officers approached the house, they heard gunshots and feared they were dealing with an active shooter.

The suspect came out firing a high-powered rifle, police said. He was killed during the ensuing firefight with officers and had not been identified early Saturday.

Two officers were wounded, though their injuries are not life-threatening. The three other people in the house were OK.

And around 8 p.m. on Friday, two Pennsylvania state troopers were shot southeast of Pittsburgh after stopping a man who had an outstanding warrant, according to Pittsburgh ABC-affiliate WPVI. One trooper managed to return fire, killing the suspect.