Aaron Swartz, an online activist and founder of the wildly popular social network Reddit, has taken his own life at the age of 26. According to AlterNet, Swartz was facing legal difficulties and struggling with illness and depression.

His attorney Michael Wolf confirmed the news to the MIT newspaper The Tech. “The tragic and heartbreaking information you received is, regrettably, true,” he wrote in an email.