LulzSec hacker Cody Kretsinger was sentenced today to one year in prison, followed by home detention, according to Reuters.

Kretsinger, who goes by the online name "Recursion," pleaded guilty in April 2012 to charges of conspiracy and the unauthorized impairment of a protected computer, following the 2011 hack of Sony Pictures.

A U.S. District Judge in Los Angeles added 1,000 hours of community service to Kretsinger's sentence, Reuters reported, citing the U.S. Attorney's Office in L.A.

During last year's hearing, the then-23-year-old hacker took a plea deal that helped him evade the full 15-year maximum sentence usually handed out in similar cases. At the time, Kretsinger admitted to joining LulzSec  an offshoot of the international "hacktivist" group Anonymous  and gaining access to the Sony Pictures website.

The attack occurred in June 2011, when LulzSec members hacked into SonyPictures.com and compromised the personal details of more than 1 million users. Financial restraints kept the group from copying the information of all 1 million people, but it did manage to access thousands of records.

Kretsinger and his cohorts were accused of stealing information from Sony's website, posting it online, then taking credit for the attack on Twitter. The FBI said Kretsinger erased the computer hard drive used to hack the website.

Sony Pictures was required to notify 37,500 users that their personal information may have been at risk. Ultimately, Sony incurred more than $600,000 in damages following the LulzSec attack.

Further Reading

Security Reviews