An NYPD detective’s “improper” relationship with a witness helped land two innocent people in prison for 17 years, one of the wrongly convicted suspects said in a $100 million notice of claim filed with the city yesterday.

Eric Glisson and Cathy Watkins were freed in October after being cleared in the 1995 slaying of Bronx cab driver Baithe Diop when investigators realized the killing was committed by others.

Glisson says in a notice of claim filed with the city that one of the cops on the case, retired Detective Michael Donnelly, had an “improper personal relationship” with Miriam Tavares, a key witness in the case.

Tavares is deceased, and Donnelly, who is retired, could not be reached.

Glisson’s notice of claim seeks damages from the city. If it does not lead the city to settle the case, he can sue.

“I think the people who committed this atrocity towards me should be held liable,” Glisson said.

Watkins’ lawyer declined to comment. “It’s a wonderful feeling just to get up and see my life is not going to be dictated,” he said.

Since his release from Sing Sing Prison on Oct. 24, Glisson has moved to an apartment in Washington Heights and is finishing up his bachelors degree. He said he never expected to be freed from prison or its rigid daily routine.