PORTLAND, Maine — The police officer who killed a Portland man brandishing a rifle-style pellet gun on Saturday morning also fatally shot a motorist while on patrol duty in 2008.

Chance David Baker, 22, was shot on the sidewalk outside a Subway sandwich shop on St. John Street, Assistant Chief Vern Malloch of the Portland Police Department said in a news release. Baker was taken by ambulance to Maine Medical Center in Portland, where he died.

The officer who shot Baker was identified late Sunday afternoon as Sgt. Nicholas Goodman, a 14-year veteran of the department, Malloch said. Goodman is a supervisor assigned to the patrol division. He has been placed on administrative leave while the Maine attorney general’s office investigates the shooting, as is standard procedure in officer-involved shootings, Malloch said.

Saturday’s shooting was the second time Sgt. Goodman has used deadly force, Malloch said. On May 3, 2008, Goodman made a traffic stop and was reaching inside an SUV to arrest the driver when the vehicle started moving, dragging Goodman more than 300 feet. Albert Wayne Kittrell, 48, of Portland was shot and killed.

Goodman, who was a patrol officer at that time, was found to have been justified in the use of deadly force.

“Sgt. Goodman is a highly decorated officer who has never been the subject of discipline,” Malloch said. “Throughout his career he has received 22 unit citations, two awards for bravery, and was selected as the department’s Police Officer of the Year in 2015.”

Goodman has an associate’s degree in Criminal Justice and serves as an instructor at the Maine Criminal Justice Academy. He is a member of the Special Reaction Team and has served as a field training officer. He was promoted to sergeant in October 2016 after serving as a narcotics investigator assigned to the Maine Drug Enforcement Agency.

The series of events that led to Saturday’s fatal shooting began around 11 a.m., when police received 911 calls reporting that a man was walking through the parking lot of Union Station Plaza, near the Subway, screaming and pointing a gun at cars. Malloch said that officers who responded heard conflicting reports that the man was armed with a shotgun, rifle, or BB gun.

“They found the man still brandishing the weapon in front of the Subway,” Malloch said. “He was shot on the sidewalk outside the door of the Subway.”

It was later determined that Baker had been armed with a rifle-style pellet gun with a wooden stock and scope, Malloch said.

In addition to notifying the attorney general’s office of the officer-involved shooting,

the police department is conducting its own investigation to determine whether Goodman’s actions were in keeping with departmental policy, Malloch said.

Once the the attorney general’s office completes its investigation, Malloch said the police department will create an incident review team that will include officers from inside and outside the department as well as a community member. The group’s objective will be to make recommendations about whether policy, training, equipment, or procedural changes are needed

“The use of deadly force by police is a serious event with potentially tragic consequences. The department utilizes multiple levels of review, by several different entities, to ensure we continue to provide the highest level of service and maintain the trust of our citizens,” Malloch said. “We are saddened by the loss of life and send our condolences to the friends and family of Mr. Baker.”