Washington (CNN) Judge Amy Berman Jackson, as she sentenced Roger Stone to 40 months in prison, gave a lengthy speech extolling truth and the rule of law to a rapt courtroom on Thursday.

Jackson appeared to criticize President Donald Trump and others promoting conspiracy theories about the Russia probe. And she decried what she saw as efforts to undercut truth and democracy.

Here are some of Jackson's key lines, as recorded in a court transcript:

On the truth and the foundation to democracy

"At trial, the defense appropriately questioned Randy Credico's credibility and Rick Gates 's credibility, but it was largely Stone's own emails and his own texts that proved the allegations beyond a reasonable doubt. So what did the defense say to the jury on his behalf? So what? So what?

"Of all the circumstances in this case, that may be the most pernicious. The truth still exists. The truth still matters. Roger Stone's insistence that it doesn't, his belligerence, his pride in his own lies are a threat to our most fundamental institutions, to the very foundation of our democracy."

"And if it goes unpunished, it will not be a victory for one party or another. Everyone loses because everyone depends on the representatives they elect to make the right decisions on a myriad of issues -- many of which are politically charged but many of which aren't -- based on the facts.

"Everyone depends on our elected representatives to protect our elections from foreign interference based on the facts. No one knows where the threat is going to come from next time or whose side they're going to be on, and for that reason the dismay and disgust at the defendant's belligerence should transcend party.

"The dismay and the disgust at the attempts by others to defend his actions as just business as usual in our polarized climate should transcend party. The dismay and the disgust with any attempts to interfere with the efforts of prosecutors and members of the judiciary to fulfill their duty should transcend party.

"Sure, the defense is free to say: So what? Who cares? But, I'll say this: Congress cared. The United States Department of Justice and the United States Attorney's Office for the District of Columbia that prosecuted the case and is still prosecuting the case cared. The jurors who served with integrity under difficult circumstances cared. The American people cared. And I care."

On the need for an independent judiciary

"This case also exemplifies why it is that this system, for good reason, demands that the responsibility falls to someone neutral.

"Someone whose job may involve issuing opinions in favor of and against the same administration in the same week, and not someone who has a longstanding friendship with the defendant. Not someone whose political career was aided by the defendant. And surely not someone who has personal involvement in the events underlying the case. The court cannot be influenced by those comments. They were entirely inappropriate, but I will not hold them against the defendant either.

"It would be equally improper to be buffeted by the winds blowing from the left, the enthusiastic callers who object to what the defendant stands for. I cannot and will not sentence him for the behavior of those he supports. Sentencing is personal, and it's based on the evidence."

On the responsibility of sentencing

"The only people who think this is easy are the ones who don't have to make the decision. Many people weighed in, formally through letters, informally by calling chambers, pontificating on cable TV, and in blogs, op-eds, and tweets."

On Stone covering up for Trump

"I have received letters urging me not to silence an important voice in the public arena, but that will not be an element of this sentence in any way. I expect he will keep talking. And as you've just heard when I went through the elements of the offense, he was not convicted and is not being sentenced for exercising his First Amendment rights, his support of the President's campaign or his policies.

"He was not prosecuted, as some have complained, for standing up for the President. He was prosecuted for covering up for the President."