DETROIT (WWJ) - Former Detroit Mayor Kwame Kilpatrick has lost another appeal of his federal conviction for racketeering.

The imprisoned Kilpatrick attempted to claim that the judge in the case was biased due to a friendly relationship with one of the attorneys, according to court documents obtained by WWJ, regarding his right to conflict-free representation.

Kilpatrick cited a brief conversation that allegedly took place on August 7, 2012, during a pretrial conference in chambers, Kiparick said he overheard defense attorney Jim Thomas thank Judge Nancy Edmonds for a card on the occasion of his wedding. "My wife and I truly loved it,” Thomas said, according to Kilpatrick; to which Judge Edmunds is said to have responded: “You are welcome, Jim.”

The court denied the motion for reconsideration.

This comes after, most recently in March, Kilpatrick lost an appeal over what he called fault jury instructions. The Sixth U.S Circuit Court of Appeals previously rejected other appeals, as did the U.S. Supreme Court in 2016.

First elected mayor in 2001, Kilpatrick​ resigned in 2008 after pleading guilty to perjury in a sex and text messaging case involving his Chief of Staff. In October of 2013, he was ordered to spend 28 years behind bars for convictions on 24 counts -- including racketeering extortion and bribery -- for fixing city business to enrich himself and his friends.

Kilpatrick's expected release date remains Aug. 1, 2037.

[MORE: Kwame Kilpatrick Wants Out Of Jail, Says 'Most Detroiters Have Forgiven Me']