Updated

An 18-year-old stabbed a Massachusetts State Police trooper "multiple times" before taking gunfire after a vehicle pursuit Friday, authorities said.

A "preliminary investigation," police said in a new release, "determined that the suspect in this incident was involved in a motor vehicle crash around noon in Walpole NH. In the immediate aftermath of that crash, he allegedly carjacked the vehicle of the other driver involved in the crash, a silver Toyota Camry. He then fled in that vehicle into Vermont and then down Route 91 south in Massachusetts. MSP patrols and local police located him driving the Camry he had carjacked and pursued him, with the pursuit ending at the intersection of Route 202 and Fay Road in New Salem, where the Camry crashed. The suspect’s attack on the Trooper followed that crash."

Both the trooper and the stabbing suspect were taken to nearby hospitals.

NORTH CAROLINA MAN DESCRIBES HOW HE COMFORTED TROOPER WHO WAS FATALLY SHOT

The 47-year-old trooper, who was described as being “alert” after getting to the hospital, was taken to the University of Massachusetts Medical Center and was undergoing an operation, police said.

UBER DRIVER ACCUSED OF KIDNAPPING RIDER, ‘TOUCHING’ HER BREAST: FBI

Authorities initially said on Twitter that both the suspect and the trooper “suffered serious injuries.”

The suspect, who was “also receiving emergency treatment,” is likely to face numerous criminal charges such as armed assault with intent to murder, assault and battery with a dangerous weapon, reckless operation of a motor vehicle and failure to stop for police, officials said.

The wounded trooper has been on the state police force since 2006 and is a husband and a father, police said.