Michael Cohen, President Trump's former personal attorney, admitted in court today that "in coordination and at the direction of a candidate for federal office" he acted to keep information that would have been harmful to the candidate and the campaign from becoming public during the 2016 election cycle.

Cohen pleaded guilty to eight counts. The charges against Cohen include tax fraud, false statements to a bank and campaign finance violations tied to his work for Trump, including payments Cohen made or helped orchestrate that were designed to silence women who claimed affairs with the then-candidate.

Though not named in the plea deal filed in court, the women whom Cohen helped silence were two who have since gone public with their claims of sexual encounters or affairs with Trump: porn star Stephanie Clifford, who goes by the stage name Stormy Daniels, and former Playboy model Karen McDougal. Trump has denied the claims.

Appearing in court on Tuesday, Cohen said of the charge linked to McDougal that it was done "for the principal purpose of influencing the election." Regarding the charge linked to Clifford, Cohen said the money "was later repaid to me by the candidate."

What has Trump said about all of this? Back in April, the President said he didn't know about the payment.

Here's that moment: