NORTH CODORUS, Pennsylvania: Law enforcement were investigating Thursday after a shooting killed three officers and wounded two more in southern Pennsylvania the day before. The violence erupted in rural York County as officers followed up on a domestic-related investigation that began on Tuesday. Police killed the shooter. Hours after the violence, community members held American flags and saluted as police and emergency vehicles formed a procession to the coroner’s office. Gov. Josh Shapiro condemned the violence at a news conference and said it was a tragic loss of life.

Three officers were killed and two others were left in critical condition from an apparent ambush in rural Pennsylvania Wednesday afternoon.

Pennsylvania State Police Commissioner Christopher Paris confirmed Wednesday that the suspect died after being shot by authorities.