NEW YORK (AP) — New York City has agreed to pay $5 million to the family of a man killed after being mistaken for a mobster with the same name — thanks to information the killers gleaned from two former police detectives later convicted of moonlighting as hit men for the mob.

The city Law Department calls Nicholas Guido's 1986 death "tragic" in a statement Friday and says settling is in the city's best interest. The family's lawyer didn't immediately return a call seeking comment.

The 26-year-old Guido was shot outside his mother's home on Christmas.

Federal prosecutors said the gunmen had Guido confused with an enemy of a mob underboss who paid two detectives to help in eight murders. They were accused of carrying out two of those killings themselves.

They're serving life in prison.

(Story by: Jennifer Peltz, The Associated Press)