A call girl working for alleged “Millionaire Madam” Anna Gristina told investigators she was paid to have sex with former U.S. Sen. John Edwards when he was in New York raising money for his failed presidential bid, DNAinfo has learned.

Edwards is the first big name to surface in connection to Gristina’s alleged prostitution scheme run out of an Upper East Side apartment…

… According to “On The Inside” sources, Edwards allegedly hooked up with one of Gristina’s high-end hookers in 2007 when the dashing pol from North Carolina brought his then high-flying presidential campaign to the Big Apple.

The one-night fling allegedly took place at an Upper East Side hotel suite and was arranged by an aide with help from a New Yorker familiar with Gristina’s prostitution ring, sources said.

The prostitute claiming to have slept with Edwards provided a detailed, first-hand account of their encounter to investigators in the Manhattan District Attorney’s office in 2008 after they began probing Gristina’s operation, sources said.

John Edwards on Thursday vehemently denied a report that he had been named as a client in New York City’s so-called “Soccer Mom Madam” prostitution scheme…

… One of Edward’s lawyers, Allison Van Laningham, said Thursday that the report’s accusations against Edwards were false.

“Mr. Edwards categorically denies that he was involved with any prostitute or service. These allegations are false, defamatory, and he puts those who would publish or repeat them on notice that they acting with actual malice by reporting or repeating them,” Van Laningham said in a statement.

The Edwards team has also demanded a retraction of the DNAinfo’s story.

Of course, he also categorically denied having an affair and fathering a love child with Rielle Hunter.