Updated 10:25 a.m. on Feb. 20

As judges are often quick to say, sentencing defendants ranks near or at the top of the most challenging parts of serving on the bench.

Federal sentencing guidelines are discretionary, giving judges some leeway in announcing punishment from probation, in some cases, to prison. At the same time, the advisory guidelines brought a measure of consistency to the judiciary. Some crimes come with mandatory minimums.

"Every first-year law student learns that sentencing has four goals: retribution, incapacitation, deterrence and rehabilitation," former U.S. District Judge Shira Scheindlin of the Southern District of New York wrote in 2017, in a piece that lamented some of the mandatory stiff sentences she was required, by law, to impose on certain defendants. U.S. District Judge T.S. Ellis III of the Eastern District of Virginia said at the sentencing hearing for Paul Manafort, the former Trump campaign chairman: "Deterrence is endlessly debated by academics based on empirical studies. It's a hard, hard issue."

U.S. District Judge Amy Berman Jackson of the District of Columbia is scheduled Thursday to sentence Roger Stone, the longtime friend of President Donald Trump, and the punishment she hands out will face enormous public scrutiny.

The Stone sentencing comes amid a backdrop of tumult at the U.S. Justice Department, after U.S. Attorney General William Barr intervened in the process and asserted that a prison recommendation of seven to nine years, made by career prosecutors applying the sentencing guidelines, was excessive. Trump thanked Barr for "taking charge" of the prosecution of Stone, who was convicted on charges of lying to Congress and witness tampering in the Russia probe. The four assigned prosecutors withdrew from the case, and one resigned from his post as an assistant U.S. attorney.

Jackson's served on the Washington federal trial bench since 2010, an arrival that came after years of work as a prosecutor and later as a defense lawyer.

"I am a real person and I relate to other people from all walks of life," Jackson said at her confirmation hearing in 2010. "And I think that ability to connect and to understand will inform my judging, hopefully, inform my temperament and help me to achieve the goal that I have, which is to rule efficiently, because I think people are waiting for your rulings, and to rule clearly, because I think people need to understand them."

In the run-up to the hearing Thursday, Chief U.S. District Judge Beryl Howell of the District of Columbia, who earlier served on the U.S. Sentencing Commission, asserted in a rare public statement that "public criticism or pressure" will not be a factor in whatever punishment Jackson announces.

"The judges of this court base their sentencing decisions on careful consideration of the actual record in the case before them; the applicable sentencing guidelines and statutory factors; the submissions of the parties, the probation office and victims; and their own judgment and experience," Howell said.

Howell's statement reflected her long history of studying sentencing and handing out sentences. "One measure of the fairness of the sentencing hearing is that the participants know what material the sentencing judge has read or reviewed that may influence the outcome," Howell said in remarks at the University of Chicago Law School in 2018.

Writing at The New York Law Journal in 2018, former federal prosecutor Joel Cohen, now of counsel at Stroock & Stroock & Lavan, said: "It seems to me that we want every single judge to struggle, perhaps in their own idiosyncratic way, every single time they are required to impose a sentence."

Here's a look at some of the things judges have said over the years about the challenge of sentencing: 

Denny Chin Judge Denny Chin of the U.S. Court of Appeals for the Second Circuit. Photo: David Handschu / ALM

>> Judge Denny Chin of the U.S. Court of Appeals for the Second Circuit: "It is just not a natural or everyday thing to do—to pass judgment on people, to send them to prison or not. I mean, there is so much at stake, and there are so many different considerations that come into play." [The New York Times]

>> Retired U.S. District Judge Ruben Castillo of the Northern District of Illinois: "I have found that every sentencing proceeding is unique, inherently difficult to adjudicate, and involves the most human aspect of our judicial-making process. … The more difficult decisions always involve sentencing men and women with spouses and children to extended terms of confinement in prison." [American Bar Association]

>> Judge Robin Rosenberg of the U.S. District Court for the Southern District of Florida: "Sentencing is a profound moment in a criminal case and in a defendant's life. The exchange between a judge and defendant is central to the court's role as adjudicator and as one human being sitting in judgment of another.  While other aspects of the criminal justice system may at times seem mechanical, sentencing hearings are, at their core, deeply personal interactions." [Judicature]

>> U.S. District Judge Clay Land of the Middle District of Georgia: "Taking away someone's freedom is an awesome responsibility, particularly when it affects other innocent persons, such as family members. So I agonize more over sentencing decisions than any other part of my job." [Daily Report Online]

Theodore McKee Judge Theodore McKee of the U.S. Court of Appeals for the Third Circuit. Photo: Matthew Grady for NewsWorks

>> Judge Theodore McKee of the U.S. Court of Appeals for the Third Circuit: "State side—sentencing was very difficult; the emotional difficulty of sentencing is taxing." [American Bar Association]

>> Retired U.S. District Judge Jack Weinstein of the Eastern District of New York: "Sentencing, that is to say punishment, is perhaps the most difficult task of a trial court judge. It turns on the judge's heart and life experience. It reveals the human face of the law. Without empathy between judge and defendant, sentencing lacks humanity. It becomes a form of robotism." [Touro Law Review]

>> U.S. District Judge Timothy Corrigan of the Middle District of Florida: "I am sometimes asked what's the most important attribute of a good judge. I used to answer that question differently, but now I say "humility." This is especially true in sentencing. No matter how long we have done it, we can never forget what an awesome responsibility it is to decide whether and for how long to deprive someone of their liberty." [Judicature]

>> The late U.S. District Judge Alicemarie Stotler of the Central District of California: "Sentencing is usually one of the most difficult jobs for any judge to deal with, because the punishment has to fit the crime; the defendant and society's rightful needs in perhaps avenging some wrong which has been done." [Confirmation hearing, 1984]

>> Judge Gerard Lynch of the U.S. Court of Appeals for the Second Circuit: "I did not expect sentencing people to prison to feel good. But I was sorry and surprised to find that the very first sentence I imposed felt like an injustice. And not a small one." [Journal of Criminal Law and Criminology, 2001]