Michael Cohen spoke to Mueller team for hours; asked about Russia, possible collusion

Investigators were also interested in knowing, the sources say, whether Trump or any of his associates discussed the possibility of a pardon with Cohen.

Over the 16 months that Mueller has been investigating, the president has repeatedly bashed the investigation as a partisan witch hunt, insisting there has been no collusion and no obstruction of justice.

Michael Cohen spoke to Mueller team for hours; asked about Russia, possible collusion

Mary Altaffer/AP, FILEMichael Cohen leaves Federal court, Aug. 21, 2018, in New York City.

The interviews with Cohen took place in Washington, D.C., and New York City. They were also attended in part by prosecutors from the U.S. Attorney’s Office in the Southern District of New York.

Cohen’s participation in the meetings has been voluntary — without any guarantee of leniency from prosecutors, according to several people familiar with the situation.

ABC News has also learned that Cohen is also cooperating with a separate probe by New York state authorities into the inner workings of the Trump family charity and the Trump Organization, where Cohen served as an executive vice president and special counsel to Trump for 10 years.

Michael Cohen spoke to Mueller team for hours; asked about Russia, possible collusion

J. Scott Applewhite/AP, FILEThen-FBI Director Robert Mueller listens as he testifies on Capitol Hill in Washington, June 13, 2012.

The news of Cohen’s dealings with federal and state investigators comes close on the heels of another potentially perilous legal development for the president: the guilty pleas last week from Trump’s former campaign chairman, Paul Manafort, who struck a deal with Mueller’s prosecutors in exchange for his cooperation.

As the Manafort deal was taking shape — Mueller’s team had already been talking to Cohen.

(MORE: Michael Cohen could be key witness in state investigation of Trump charity)

And given Cohen’s prolonged time spent in proximity to Trump, his family and the inner-workings of the Trump Organization, some insiders consider his cooperation with authorities to be one of most serious potential legal threats to confront the president.

Michael Cohen spoke to Mueller team for hours; asked about Russia, possible collusion

Evan Vucci/APPresident Donald Trump participates in the Sept. 11th Flight 93 Memorial Service, Sept. 11, 2018, in Shanksville, Pa.

“Both of these guys want to be loved and they both want loyalty,” says a person close to both President Trump and Cohen, who asked not to be named in order to speak freely. “Cohen’s disavowal of Trump has triggered a series of events that turned once very good friends into permanent enemies. The consequences for both will be ugly.”

President Trump and his lawyers have lately been harshly critical of Cohen ever since he made clear earlier this year, in an exclusive interview with ABC News, that he was willing to cooperate with prosecutors, even if that placed the president in legal or political jeopardy. The former Trump loyalist said in the interview he rejected Trump’s claims that the Mueller investigation was a “witch hunt” orchestrated by his political enemies.

Cohen vowed to put “family and country first.”

(MORE: Michael Cohen, Trump’s former longtime personal attorney, pleads guilty to illegal campaign contributions ‘at the direction of a candidate for federal office’)

Rudy Giuliani, Trump’s current personal attorney, who in May called Cohen “an honest, honorable lawyer,” has more recently claimed that Cohen is fabricating stories about Trump in order to protect himself.

(MORE: Michael Cohen has information ‘of interest’ to Robert Mueller, would not accept Trump pardon, lawyer says)

“There’s nobody that I know that knows him that hasn’t warned me that if his back is up against the wall, he’ll lie like crazy, because he’s lied all his life,” Giuliani told CNN in July.

Michael Cohen spoke to Mueller team for hours; asked about Russia, possible collusion

AP/Getty Images, FILEAttorney Michael Cohen, left, and special council Robert Mueller, right.

Last month in New York, Cohen pleaded guilty to eight felonies, including bank fraud, tax evasion and two campaign finance violations in connection with alleged hush money payments to women who have claimed affairs with Trump. Mueller’s team had referred the investigation of those crimes to federal prosecutors in New York, which led subsequently to coordinated raids of Cohen’s law office and residences in April.

At a plea hearing in August, Cohen told a federal judge that he had arranged for the payments to two women “in coordination with, and at the direction of a candidate for federal office,” referring to then-candidate Trump, and added that he participated in the transactions with the principal purpose of influencing the election.

Those statements, under oath, were an about-face from Cohen’s public comments about his role in the deals with Karen McDougal and Stephanie Clifford, aka Stormy Daniels. Cohen had previously insisted that he’d paid Clifford with his own money, on his own initiative and without the knowledge of Trump.

Michael Cohen spoke to Mueller team for hours; asked about Russia, possible collusion

Ringo H.W. Chiu/AP, FILEStormy Daniels speaks during a ceremony in West Hollywood, Calif., May 23, 2018.

The president has long denied the allegations of the affairs with McDougal and Clifford and has claimed he did not know in advance about the deals Cohen secured. On the day of Cohen’s court appearance, the president openly mocked him on Twitter.

“If anyone is looking for a good lawyer, I would strongly suggest that you don’t retain the services of Michael Cohen!” the president wrote.

Since entering his guilty pleas last month — Cohen has also been in contact with the New York Attorney General’s office, according to multiple people close to the matter.

In June, the New York Attorney General, Barbara Underwood, filed a civil lawsuit accusing Trump’s charitable foundation and its directors of having “operated in persistent violation of state and federal law governing New York State charities” for more than a decade by paying off legal bills with charitable funds, promoting Trump hotels, and purchasing personal items.

Michael Cohen spoke to Mueller team for hours; asked about Russia, possible collusion

Jeff Kravitz/FilmMagic via Getty Images, FILEKaren McDougal in Phoenix, Feb. 2, 2008.

The lawsuit names Trump, his sons Don Jr. and Eric, and his daughter, Ivanka, as defendants.

A representative of the Trump Foundation called the lawsuit, “politics at its very worst.”

Underwood’s office has not ruled out launching a state criminal investigation into the foundation if the evidence warrants it. And she has also asked th