GEESYTOWN, PA.—State police say troopers have fatally shot a man who fled in a pickup truck after killing three people along a rural road in the U.S. state of Pennsylvania.

Spokeswoman Maria Finn says the suspect fired at troopers responding to Friday morning’s shootings.

The fleeing gunman then crashed head-on into a trooper’s car and got out of his truck and shot again at police, who returned fire and killed him.

District Attorney Richard Consiglio says the gunman killed two men and one woman.

Finn says one trooper was shot in his bulletproof vest and wrist. A second was struck by broken glass, and a third trooper was hurt in the car crash.

All are expected to recover.

The victims’ names haven’t been released.

MORE: NRA calls for gun-toting police officers in every U.S. school