ABC News reports that former U.S. Navy sailor Nicholas Knight has been charged with hacking into several government and private websites while serving as a systems administrator in the nuclear reactor department of the USS Harry S. Truman.

Knight, who was discharged from the Navy in May of 2013, allegedly led a hacker group called Team Digi7al, which targeted more than 30 websites ranging from those for the National Geospatial-Intelligence Agency and the U.S. Navy to sites for Harvard University, the World Health Organization, and Kawasaki.

Another member of Team Digi7al apparently told investigators that the group was "somewhat politically inclined" but also hacked the sites because it was "fun."

Knight and fellow hacker Daniel Kruger, a community college student at the time, were caught after they allegedly stole thousands of service members' personal information from the Navy's Smart Web Move site and bragged about it on Twitter.

"The Navy quickly identified the breach and tracked down the alleged culprits through their online activity, revealing an extensive computer hacking scheme committed across the country and even abroad," U.S. Attorney Danny C. Williams said in a statement.

Both Knight and Kruger face up to five years in prison and a $250,000 fine, in addition to paying restitution to all victims.

Photo courtesy of Shutterstock.