On January 23, 2012, Kiriakou was charged with repeatedly disclosing classified information to journalists, including the name of a covert CIA officer and information revealing the role of another CIA employee, Deuce Martinez, in classified activities.[23][24][25] In addition to leaking the names and roles of CIA officers, Kiriakou was alleged to have lied to the CIA to get his book published.[26]
...
Starting on September 12, 2012, the District Court for the Eastern District of Virginia conducted closed Classified Information Procedures Act hearings in Kirikaou's case.[31] On Monday, October 22, 2012, he agreed to plead guilty to one count of passing classified information to the media thereby violating the Intelligence Identities Protection Act; his plea deal spared journalists from testifying in a trial
...
In June 2013, Kiriakou wrote an open "Letter From Loretto" to Edward Snowden expressing his support and giving advice, including "the most important advice that I can offer, DO NOT, under any circumstances, cooperate with the FBI"
http://en.wikipedia.org/wiki/John_Kiriakou