An Estonian man has pleaded guilty in what prosecutors say was a massive copyright-piracy scheme run through the now-defunct website Megaupload.

Andrus Nomm pleaded guilty Friday to conspiracy to commit copyright infringement in federal court in Alexandria, Virginia. He was sentenced to a year and a day in prison.

Nomm, one of seven men indicted in the case three years ago, is the first to be brought to the U.S. to face charges. He was initially arrested in the Netherlands in 2012 and had been fighting extradition.

Prosecutors say the Megaupload website was cleverly designed to deliberately encourage piracy of movies, TV shows and music.

Nomm pleaded guilty under a plea agreement with prosecutors.