The DOJ argued that they should be able to prosecute for revealing classified documents without revealing what the documents were. When the judge prevented that, the case collapsed and they were forced to settle.
Because there was a negotiated guilty plea.
A guilty plea to one misdemeanor count of "exceeding the authorized use of a computer" after having been indicted on 10 counts, all of which were dropped.