A Metro Transit detective shot and killed a 44-year-old man Wednesday when they exchanged gunfire on a Lanham neighborhood street, as police investigated an attempted abduction from a bus stop, transit officials said.

The detective came to the 7100 block of Lory Lane in Lanham about 12:30 to follow a lead from a report of an attempted abduction on Sunday at a Northeast Washington bus stop, said Dan Stessel, a Metro spokesman. Once in the block, an armed man fired several times at the detective, and the detective returned fire, fatally wounding the suspect, officials said.

The man was pronounced dead at the scene. The detective was not injured.

Authorities did not identify the dead man, but Stessel said he lived in that block and was described as “a person of interest” in the attempted abduction.

Police were investigating a Sunday incident, where two people in a Mercedes approached a woman waiting at bus stop in the 4100 block of Minnesota Avenue about 6:15 p.m. The driver identified himself as a police officer, left the vehicle and tried to grab the woman, Stessel said.

The woman managed to escape and fled onto a U8 bus for safety, and transit police were later notified, Stessel said. A witness gave police a license plate number for the Mercedes, which was part of the trail that led the detective to Lanham on Thursday, Stessel said.

Police recovered a hand gun at the scene, Stessel said.

Officials did not identify the detective but said he is a five-year veteran of the police force. He was placed on administrative duty as the shooting is investigated by Prince George’s County police and Metro Transit police officials.