Weymouth police have identified Officer Michael Chesna as the officer killed by a man fleeing the scene of a car crash near South Shore Hospital.

Authorities confirmed the officer was fatally shot with his own gun.

Chesna, 42, was rushed to South Shore Hospital with life-threatening injuries after the shooting Sunday morning but succumbed to his wounds.

Chesna was an Army veteran and is survived by his wife and two children. He joined the department six years ago.

Authorities announced the officer's death at a press conference Sunday afternoon, hours after the shooting turned the streets around the hospital into an active crime scene.

Neighbors told the Associated Press the shooter crashed into another car while driving erratically and then fled on foot before shooting the officer.

The shooter, identified by authorities as Emanuel Lopes, will be either arraigned in court or in a local hospital on the murder charges.

Norfolk County District Attorney Assistant District Attorney Greg Connor said police responded to a call for an erratic driver in the area of the South Shore Hospital around 7:32 a.m.

There was a single car accident and the driver ran from the scene.

The driver, identified as Lopes, was then spotted vandalizing a home on Burton Terrace. Chesna, one of the officers searching for the suspect, saw Lopes.

Chesna got out of his cruiser, drew his firearm and demanded Lopes to stop, Connor said.

"Lopes then attacked Officer Chesna it is believed with a large stone, striking him in the head," the prosecutor said. "Officer Chesna fell to the ground. Lopes then retrieved Officer Chesna's firearm and discharged it several times in his head and chest."

Officers on scene returned fire. Lopes was struck in the leg.

Lopes ran through the neighborhood around Burton Terrace. He still had the officer's gun and fired three more times, authorities said.

A woman inside her home was fatally struck. Lopes was then caught.