Former Trump attorney Michael Cohen appeared in a Manhattan court Wednesday to face sentencing on nine charges.

Cohen wept as he begged the judge to give him no jail time. He threw Trump under the bus and said it was his ‘blind loyalty‘ that led him to cover up the President’s “dirty deeds,” CNBC reported.

“I take full responsibility for each act that I pled guilty to — the personal ones to me and those involving the president of the United States of America,” Cohen said in federal court in Manhattan before he was sentenced. “Blind loyalty” to Trump “led me to take a path of darkness instead of light,” Cohen told the judge.

TRENDING: BREAKING: 'At Least 10 Shots' Reportedly Fired at Police By Louisville Black Lives Matter Rioters — UPDATE... At Least Two Officers Shot (VIDEOS)

Before Judge William Pauley sentenced Cohen to 36 months in prison, he said, “Mr. Cohen pled guilt to a veritable smorgasbord of fraudulent conduct and each of these crimes standing alone warrant considerable punishment.”

Cohen must surrender to prison on March 6th.

The Daily Mail reported:

An anguished Michael Cohen pleaded with a federal judge to keeping out of jail on Thursday, and expressed regret for trying to cover up former employer Donald Trump’s ‘dirty deeds.’ The tearful longtime Donald Trump lawyer took on Trump – who he once said he would ‘take a bullet for’ – for having called him ‘weak’ in a Twitter attack. ‘Recently the president tweeted a statement calling me weak and it was correct, but for a much different reason than he was implying,’ Cohen told a federal judge in open court. ‘It was because time and time again I felt it was my duty to cover up his dirty deeds,’ Cohen said. Cohen headed to federal court in New York Wednesday to face sentencing after prosecutors in New York recommended he get ‘substantial’ jail time – as his attorney lauded his willingness to testify against the president. In a courtroom plea for leniency, Cohen’s lawyer, Guy Petrillo, described Cohen as a brave witness who came forward with evidence ‘against the most powerful person in our country’ – and tried to draw a contrast with former Trump campaign chair Paul Manafort, who prosecutors say committed ‘lies’ despite agreeing to cooperate.

In August, Michael Cohen pleaded guilty to breaking campaign finance laws ‘at the direction of a candidate.’

Cohen was also charged Wednesday on allegations of bank and tax fraud from a taxi cab business he owned with another business partner after the FBI raided his home and office in April and seized personal property including computers and phones.