Police on Sunday identified the man who was shot and killed last weekend during a shooting in Dorchester that left another man injured.

Andrew McGee was one of two men shot in front of a home on Whitman Street near Norfolk Street just before 11 p.m. on Nov. 16, according to a statement from Boston Police.

McGee, 21, of Dorchester, was taken to Boston Medical Center, where he was pronounced dead, police said.

Advertisement - Continue Reading Below

Police did not identify the other man who was shot, a 19-year-old. He too was taken to Boston Medical Center, where he remained in “critical condition” on Sunday, police said.

Officers found both men suffering from gunshot wounds after the ShotSpotter system, which acoustically detects gun shots, sent an alert to police.

A resident told an investigator that Saturday night that she heard several shots in rapid succession.

The Boston Police Homicide Unit urged anyone with information about the shooting to contact them at 617-343-4470. Information can also be provided to police anonymously by calling the CrimeStoppers Tip Line at 1-800-494-TIPS or by texting the word ‘TIP’ to CRIME (27463).