Cody Andrew Kretsinger, who went by the online nickname "recursion," was also sentenced to a year of home detention and 1,000 hours of community service.
The U.S. Attorney's Office in Los Angeles said Kretsinger pleaded guilty last April to the attack, in which hackers breached the Sony Pictures website, stole personal data including the names, addresses, phone numbers and email addresses of tens of thousands of Sony customers and distributed it over the Internet.
Raynaldo Rivera, a 20-year-old who also pleaded guilty to the attack in October, is to be sentenced May 16.
Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.