Aaron Swartz and the Massachusetts Institute of Technology seemed to hold similar beliefs about open access on the Internet.

Swartz, a well-known Internet activist, believed that copyrighted information should be made freely available online. MIT was one of the first universities to grant access to its course materials and professors' scholarly articles without charge to anyone with an Internet connection.

But when Swartz was caught using MIT's network to download academic journals and share them online, the university contacted law enforcement -- which led to the involvement of the Secret Service -- and helped federal authorities build their case against him.

Privately, several MIT officials expressed concerns that prosecutors were "overreaching" by charging Swartz with federal crimes that carried a sentence of up to 35 years in prison, according to a MIT employee familiar with the investigation.

But by then, it was too late. "By the time this thing snowballed out of MIT's hands, it was gone," said the employee, who asked not to be named because he still works at the university. "When the federal government chooses to prosecute, you don’t get to say no."

On Friday, Swartz, 26, was found dead in his apartment of an apparent suicide. He was facing trial in April for allegedly stealing millions of scholarly journal articles from the digital archive JSTOR using MIT's network. Before his death, federal prosecutors told Swartz and his attorney that he could spend six months behind bars and plead guilty to 13 federal crimes, but they rejected the offer, believing they could win at trial, his attorney told the Boston Globe.

Swartz suffered from depression, and his reasons for taking his own life remain unclear. But his supporters say that his looming federal trial was a contributing factor in his death and they blame prosecutors and MIT for pursuing the case.

On Tuesday, mourners paid tribute to Swartz during an emotional funeral service in his hometown of Highland Park, Ill. During the service, Swartz's father was quoted as saying his son "was killed by the government, and MIT betrayed all of its basic principles."

MIT is planning an investigation of its involvement with the federal case against Swartz. Professor Hal Abelson, who is leading the internal investigation, declined to comment Tuesday about MIT's role in the case, saying he had not yet begun his inquiry. "Right now, people need time to think about Aaron," Abelson said.

The university's decision to contact law enforcement in Swartz's case appeared to run counter to its history of embracing computer hackers and open access to information on the Internet. In 2009, MIT faculty voted unanimously to make their scholarly articles available for free online. The decision emphasized MIT's "commitment to disseminating the fruits of its research and scholarship as widely as possible," according to a university press release.

"The vote is a signal to the world that we speak in a unified voice; that what we value is the free flow of ideas," MIT faculty chair Bish Sinyal said at the time.

Abelson said the university had, at times, struggled to create policies that were consistent with those values. "At MIT there's always been an appreciation of the value of hacking and being more flexible," he said in an interview. "But there are always hard decisions about how that works out in terms of policy."

At the time of his alleged offenses, Swartz was a fellow at Harvard University, not a student at MIT, but his lawyers argued that MIT's Internet policy allowed unfettered use of its network. Unlike other universities, MIT did not require a password or any affiliation with the school to access servers and digital libraries, Swartz's lawyers said in court filings.

MIT's network lacked "even basic controls to prevent abuse," such as preventing users from downloading too many PDFs or utilizing too much bandwidth, said Alex Stamos, a computer security researcher who planned to testify as an expert witness on Swartz's behalf during his upcoming trial.

"In fact, in my 12 years of professional security work I have never seen a network this open," Stamos said of MIT in a blog post over the weekend.

In late 2010, MIT staff was notified three times by JSTOR that a user on the university's network had been abusing its subscription to the archive by downloading thousands of articles. After the third notice, MIT employees traced the IP address to a laptop in a basement wiring closet on campus. The laptop belonged to Swartz.

According to the source close to the investigation, when MIT employees found the laptop, they contacted MIT police, who called Cambridge police, where the call was then routed to a detective assigned to the New England Electronic Crimes Task Force. That detective contacted another member of the task force, Michael Pickett, a special agent with the U.S. Secret Service, who helped lead the investigation.

Pickett did not respond to a request for comment Tuesday.

After contacting law enforcement, MIT helped federal authorities gather evidence to build their case against Swartz, his attorneys said in court filing. MIT officials, for example, installed video surveillance to catch Swartz returning for his laptop, according to filings.

MIT employees also captured network traffic from Swartz's laptop and turned that data over to the Secret Service without requiring a warrant or subpoena. MIT disclosed that data to law enforcement with permission from the university's general counsel’s office, Swartz's attorney wrote in an October court filing.

Jay Wilcoxson, who works in the university's office of general counsel, declined to comment through a university spokeswoman.

Some say the university could have handled Swartz's case internally. "The lesson learned is MIT needs a clear policy on when to talk to outside law enforcement because the case became a fiasco," the MIT source said. "Once federal prosecutors were on the case, there was no going back."

Loading Slideshow...
  • Sir Tim Berners Lee, Founder Of The World Wide Web

    He <a href="https://twitter.com/timberners_lee/status/290140454211698689">tweeted</a>: “Aaron dead. World wanderers, we have lost a wise elder. Hackers for right, we are one down. Parents all, we have lost a child. Let us weep.”

  • Quinn Norton, Freelance Journalist And Swartz's Close Friend

    "We used to have a fight about how much the internet would grieve if he died. I was right, but the last word you get in as the still living is a hollow thing, trailing off, as it does, into oblivion." Read more <a href="http://www.quinnnorton.com/said/?p=644">here</a>.

  • Danah Boyd, Social Media Researcher And Swartz's Friend

    "What I feel right now is anger. I'm angry at Aaron, angry at the state, angry at MIT, angry at anti-hactivist sentiment & angry at myself." Read Boyd's full statement on Swartz's death <a href="http://www.zephoria.org/thoughts/archives/2013/01/13/aaron-swartz.html">here</a>.

  • Cory Doctorow, Science Fiction Author And Swartz's Friend

    "Whatever problems Aaron was facing, killing himself didn't solve them. Whatever problems Aaron was facing, they will go unsolved forever. If he was lonely, he will never again be embraced by his friends. If he was despairing of the fight, he will never again rally his comrades with brilliant strategies and leadership. If he was sorrowing, he will never again be lifted from it." Read more <a href="http://boingboing.net/2013/01/12/rip-aaron-swartz.html">here</a>.

  • Swartz Family Statement

    “Aaron’s death is not simply a personal tragedy. It is the product of a criminal justice system rife with intimidation and prosecutorial overreach. Decisions made by officials in the Massachusetts U.S. Attorney’s office and at MIT contributed to his death.” Read more <a href="http://rememberaaronsw.tumblr.com/post/40372208044/official-statement-from-the-family-and-partner-of-aaron">here</a>.

  • Lawrence Lessig, Director Of The Edmond J. Safra Center for Ethics At Harvard University

    "The question this government needs to answer is why it was so necessary that Aaron Swartz be labeled a 'felon.' For in the 18 months of negotiations, that was what he was not willing to accept, and so that was the reason he was facing a million-dollar trial in April -- his wealth bled dry, yet unable to appeal openly to us for the financial help he needed to fund his defense, at least without risking the ire of a district court judge. And so as wrong and misguided and fucking sad as this is, I get how the prospect of this fight, defenseless, made it make sense to this brilliant but troubled boy to end it." Read more <a href="http://www.huffingtonpost.com/lawrence-lessig/aaron-swartz-suicide_b_2467079.html">here</a>.

  • JSTOR, Academic Archive

    "We are deeply saddened to hear the news about Aaron Swartz. We extend our heartfelt condolences to Aaron’s family, friends, and everyone who loved, knew, and admired him. He was a truly gifted person who made important contributions to the development of the internet and the web from which we all benefit." Read more <a href="http://about.jstor.org/statement-swartz">here</a>.

  • L. Rafael Reif, MIT President

    "I have asked professor Hal Abelson to lead a thorough analysis of MIT's involvement from the time that we first perceived unusual activity on our network in Fall 2010 up to the present. I have asked that this analysis describe the options MIT had and the decisions MIT made, in order to understand and to learn from the actions MIT took. I will share the report with the MIT community when I receive it." Read more <a href="http://web.mit.edu/newsoffice/2013/letter-on-death-of-aaron-swartz.html">here</a>.

  • Anonymous, Hacktivist Collective

    On Sunday night, one day after Swartz's death, Anonymous knocked out Internet access at MIT, <a href="http://tech.mit.edu/V132/N61/anonymous.html" target="_hplink">according to The Tech</a>, a campus newspaper. Two MIT-affiliated websites were rewritten with the following message from the hacktivist group: "Whether or not the government contributed to his suicide, the government's prosecution of Swartz was a grotesque miscarriage of justice, a distorted and perverse shadow of the justice that Aaron died fighting for - freeing the publicly-funded scientific literature from a publishing system that makes it inaccessible to most of those who paid for it - enabling the collective betterment of the world through the facilitation of sharing - an ideal that we should all support." Read the full text of the hack <a href="http://gizmodo.com/5975646/anonymous-hacks-mit-in-aaron-swartzs-name">here</a>.

  • Danny O'Brien, Journalist And Swartz's Friend

    "Ada [O'Brien's daughter] cried, then we hugged, then Ada suggested we have a goodbye party, with ice-cream and sprinkles and a movie, and make a board where we could pin all our memories. We laughed at how funny he was. Aaron taught her so well." Read more <a href="http://www.oblomovka.com/wp/2013/01/12/he-was-funny/">here</a>. <strong>Correction:</strong> This slide originally reported that Ada was Aaron Swartz's daughter, not Danny O'Brien's. The Huffington Post regrets this error.