A retired Suffolk police lieutenant resigned on the third Tuesday in a lawsuit against former Suffolk prosecutor Tom Spota and his investigator.

Spota's defense lawyer challenged James Hickey's credibility and had him talk about four extramarital affairs he had.

The defense lawyer pointed out to the jury that Hickey had lied and covered up his wife for years.

MORE: The retired Suffolk lieutenant made meticulous talks in Spota, McPartlandAccording to an important witness, he had talks with Spota, McPartland, about the coverup of Burke
Ex-Suffolk detective "dreaded everything" during alleged spota coverup
DA Spota says he never spoke to Bellone about Burke
Letter from Spota denies James Burke's misdeeds
The former Suffolk officer admits he participated in the beating of Loeb during the trial of Spota

As News 12 reported, Hickey said he had had direct talks and meetings with Spota and Christopher McPartland to cover up former police chief James Burke, who defeated the suspect Christopher Loeb in 2012.

Hickey told the court, "I assumed Spota knew Burke … because Spota knew it, we all knew that Burke did, we covered it up."

The defenders of Spota and McPartland have alleged that their clients did not obstruct the judiciary because they did not know Burke had beaten Loeb.