A co-founder of Reddit and activist who fought to make online content free to the public has been found dead, authorities confirmed Saturday, and his family is blaming the U.S. legal system for his suicide.

Aaron Swartz, 26, hanged himself in his Brooklyn apartment weeks before he was to go on trial on accusations that he stole millions of journal articles from an electronic archive in an attempt to make them freely available. If convicted, he faced decades in prison and a fortune in fines.

"Aaron's death is not simply a personal tragedy," Swartz's family said in a statement Saturday. "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."

He was pronounced dead Friday evening at home in Brooklyn's Crown Heights neighborhood, said Ellen Borakove, spokeswoman for New York's chief medical examiner. Police went to the apartment after receiving a 911 call from Swartz's girlfriend, who found him.

"Aaron's insatiable curiosity, creativity, and brilliance; his reflexive empathy and capacity for selfless, boundless love; his refusal to accept injustice as inevitable—these gifts made the world, and our lives, far brighter," the family statement said. "We're grateful for our time with him, to those who loved him and stood with him, and to all of those who continue his work for a better world."

'An extraordinary hacker and activist'

His death prompted an outpouring of grief from prominent voices on the intersection of free speech and the Web.

Swartz was "an extraordinary hacker and activist," the Electronic Frontier Foundation, an international nonprofit digital rights group based in California wrote in a tribute on its home page.

He "did more than almost anyone to make the Internet a thriving ecosystem for open knowledge, and to keep it that way," the tribute said.

Swartz was a prodigy who as a young teenager helped create RSS, a family of Web feed formats used to gather updates from blogs, news headlines, audio and video for users. He co-founded the social news website Reddit, which was later sold to Conde Nast, as well as the political action group Demand Progress, which campaigns against Internet censorship.

But Swartz struggled with depression.

"Surely there have been times when you've been sad," he wrote in a 2007 blog post. "Perhaps a loved one has abandoned you or a plan has gone horribly awry. Your face falls. Perhaps you cry. You feel worthless."

Swartz wrote that "depressed mood is like that, only it doesn't come for any reason and it doesn't go for any either."

Fought for free online information

Among Internet gurus, Swartz was considered a pioneer of efforts to make online information freely available.

"Playing Mozart's Requiem in honor of a brave and brilliant man," tweeted Carl Malamud, an Internet public domain advocate who believes in free access to legally obtained files.

Swartz aided Malamud's own effort to post federal court documents for free online, rather than the few cents per page that the government charges through its electronic archive, PACER. In 2008, The New York Times reported, Swartz wrote a program to legally download the files using free access via public libraries. About 20 percent of all the court papers were made available until the government shut down the library access.

The FBI investigated but did not charge Swartz, he wrote on his own website.

Three years later, Swartz was arrested in Boston and charged with stealing millions of articles from a computer archive at the Massachusetts Institute of Technology. Prosecutors said he broke into a computer wiring closet on campus and used his laptop for the downloads.

Faced 13 felony charges

Experts puzzled over the arrest and argued that the result of the actions Swartz was accused of was the same as his PACER program: more information publicly available.

The prosecution "makes no sense," Demand Progress Executive Director David Segal said in a statement at the time. "It's like trying to put someone in jail for allegedly checking too many books out of the library."

Swartz pleaded not guilty to charges including wire fraud. His federal trial was to begin next month.

According to a federal indictment, Swartz stole the documents from JSTOR, a subscription service used by MIT that offers digitized copies of articles from academic journals. Prosecutors said he intended to distribute the articles on file-sharing websites.

He faced 13 felony charges, including breaching site terms and intending to share downloaded files through peer-to-peer networks, computer fraud, wire fraud, obtaining information from a protected computer, and criminal forfeiture.

JSTOR did not press charges once it reclaimed the articles from Swartz, and some legal experts considered the case unfounded, saying that MIT allows guests access to the articles and Swartz, a fellow at Harvard's Safra Center for Ethics, was a guest.

Criticizing the government's actions in the pending prosecution, Harvard law professor and Safra Center faculty director Lawrence Lessig called himself a friend of Swartz's and wrote Saturday that "we need a better sense of justice. ... The question this government needs to answer is why it was so necessary that Aaron Swartz be labeled a `felon."'

JSTOR announced this week that it would make "more than 4.5 million articles" publicly available for free.