When a judge was considering whether to send retired Gen. David Petraeus to jail over his unauthorized disclosure of classified information, he received letters of support from more than two dozen luminaries of different political stripes.

Republican lawmakers such as Sen. Lindsey Graham joined Democratic ones such as Sen. Diane Feinstein in asking U.S. Magistrate Judge David C. Keesler to keep Petraeus out of jail.

The United States District Court for the Western District of North Carolina made those letters public last night in response to requests from media organizations including NPR.

Many of the people writing the letters told Keesler that Petraeus still had much to give in service of the United States and that should inform his sentencing decision.

Thomas Donilon, a former national security adviser in the Obama administration, went so far as to say that it was "in the national interest to have General Petraeus fully and freely involved in helping to set the nation's course."

With that, here are three other excerpts from prominent officials:

-- Sen. Feinstein wrote that Petraeus "recognizes the error of his actions."

-- Sen. Graham wrote that Petraeus had already been embarrassed by the situation and has "quietly suffered."

-- Former British Prime Minister Tony Blair wrote that "the world needs his continued engagement and presence."

It's worth noting, as the Intercept does, that some of the people who wrote letters in support of Petraeus had in the past advocated for strict anti-leak laws.

Copyright 2016 NPR. To see more, visit http://www.npr.org/.