(CNN) Former Donald Trump lawyer Michael Cohen spoke in court Wednesday before being sentenced to three years in prison.

Read Cohen's statement from the court transcript below:

THE DEFENDANT: Thank you, your Honor. I stand before your Honor humbly and painfully aware that we are here today for one reason: Because of my actions that I pled guilty to on August 21, and as well on November 29. 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. Viktor Frankl in his book, "Man's Search for Meaning," he wrote, "There are forces beyond your control that can take away everything you possess except one thing, your freedom to choose how you will respond to the situation." Your Honor, this may seem hard to believe, but today is one of the most meaningful days of my life.

The irony is today is the day I am getting my freedom back as you sit at the bench and you contemplate my fate. I have been living in a personal and mental incarceration ever since the fateful day that I accepted the offer to work for a famous real estate mogul whose business acumen I truly admired. In fact, I now know that there is little to be admired. I want to be clear. I blame myself for the conduct which has brought me here today, and it was my own weakness, and a blind loyalty to this man that led me to choose a path of darkness over light. It is for these reasons I chose to participate in the elicit act of the President rather than to listen to my own inner voice which should have warned me that the campaign finance violations that I later pled guilty to were insidious.

Recently, the President Tweeted a statement calling me weak, and he was correct, but for a much different reason than he was implying. It was because time and time again I felt it was my duty to cover up his dirty deeds rather than to listen to my own inner voice and my moral compass. My weakness can be characterized as a blind loyalty to Donald Trump, and I was weak for not having the strength to question and to refuse his demands. I have already spent years living a personal and mental incarceration, which no matter what is decided today, owning this mistake will free me to be once more the person I really am.

Read More