BOSTON (AP) -- A lawyer for Internet freedom activist Aaron Swartz said federal prosecutors told him two days before Swartz's death that Swartz would have to spend six months in prison and plead guilty to 13 charges if he wanted to avoid going to trial.
The 26-year-old Swartz was found dead of an apparent suicide in his New York apartment Friday. He was accused of illegally gaining access to academic articles from a computer archive at the Massachusetts Institute of Technology. The charges carried a maximum penalty of decades in prison.
His former attorney Andrew Good said he told prosecutors about a year ago that Swartz was a suicide risk. He said they offered to hold him in jail to protect him from himself.
A spokeswoman for U.S. Attorney Carmen Ortiz declined comment.