R. Kelly appeared in court Tuesday to challenge the two sex tapes that Michael Avenatti handed over to prosecutors.

Kelly’s lawyers insinuated something has been going on between Avenatti and Chicago prosecutor Kim Foxx, according to a report published by TMZ.

Kelly’s legal documents obtained by TMZ point out that Avenatti publicly claimed that he had conversations with Kim Foxx.

NOW: R. Kelly arrives at courthouse in Chicago for a hearing on his sex abuse case.@cbschicago pic.twitter.com/iTYNlZJfaN — Audrina Bigos (@AudrinaBigos) May 7, 2019

Kelly’s lawyers requested that the judge ask prosecutors to preserve all communications between Avenatti and Foxx, but the judge said the lawyers needed to present a clear reason why. (RELATED: R. Kelly Loses Sexual Assault Lawsuit Amid Other Legal Troubles)

Avenatti claims he already did give up the communications between him and Foxx and that they were a series of messages published in a Chicago Tribune article back in April. Avenatti claims the published messages are the only correspondence that exists.

The messages obtained by the Tribune seemingly show communication regarding times to meet up and updates on Kelly’s case.

R. Kelly due back in court for hearing on sex-abuse case https://t.co/g4Mo6F730O pic.twitter.com/BTuGu3T12h — billboard (@billboard) May 7, 2019

As previously reported, Avenatti turned over two sex tapes to prosecutors and alleged Kelly was on the tapes having sexual intercourse with underage girls. The tapes prompted prosecutors to charge Kelly with 10 counts of sexual abuse.

Kelly has been the focus of multiple allegations of sexual abuse since Lifetime’s “Surviving R. Kelly” docuseries launched at the beginning of January. The embattled singer has been accused of abusing underage women for years.