James Risen in The Intercept:

My case was part of a broader crackdown on reporters and whistleblowers that had begun during the presidency of George W. Bush and continued far more aggressively under the Obama administration, which had already prosecuted more leak cases than all previous administrations combined. Obama officials seemed determined to use criminal leak investigations to limit reporting on national security. But the crackdown on leaks only applied to low-level dissenters; top officials caught up in leak investigations, like former CIA Director David Petraeus, were still treated with kid gloves.

[…]

But even as I was losing in the courts, I was gaining ground in the court of public opinion. My decision to go to the Supreme Court had captured the attention of the nation’s political and media classes. Instead of ignoring the case, as they had for years, the national media now framed it as a major constitutional battle over press freedom.

[…]

I was worried, but I felt certain that the hearing would somehow complete the long, strange arc I had been living as a national security investigative reporter for the past 20 years. As I took the stand, I thought about how I had ended up here, how much press freedom had been lost, and how drastically the job of national security reporting had changed in the post-9/11 era.