A New Zealand judge ruled Wednesday that colorful Internet entrepreneur Kim Dotcom and three of his colleagues can be extradited to the United States to face criminal copyright charges.

Dotcom's lawyers said they will appeal the decision.

Judge Nevin Dawson's ruling came nearly four years after U.S. authorities shut down Dotcom's file-sharing website Megaupload, which was once one of the Internet's most popular sites. Prosecutors say it raked in at least $175 million US, mainly from people using it to illegally download movies.

The U.S. has charged the men with conspiracy to commit copyright infringement, racketeering and money laundering. If found guilty, they could face decades in jail.

Judge Dawson presided over a nine-week extradition hearing in which lawyers outlined the case against the four men. In his ruling, Dawson wrote that "The overwhelming preponderance of evidence ... establishes a prima facie case to answer for all respondents on each of the counts."

The judge was required only to decide whether the U.S. had a valid case and not on whether he thought they were guilty or innocent.

The case could have broader implications for Internet copyright rules. Dotcom's lawyer Ron Mansfield said earlier that if the U.S. side prevails, websites from YouTube to Facebook would need to more carefully police their content.

The case also raises questions about how far U.S. jurisdiction extends in an age when the Internet has erased many traditional borders. Dotcom says he has never set foot in the U.S.

"Justice was not served today," said Ira Rothken, one of Dotcom's lawyers, on Twitter. He said he looked forward to having the decision reviewed in court.

New Zealand Justice Minister Amy Adams is required to sign-off on any extraditions. In a statement Wednesday, Adams said she would wait for the conclusion of any appeals before making a final decision.

As well as Dotcom, who founded Megaupload and was its majority shareholder, the U.S. is also seeking to extradite former Megaupload officers Mathias Ortmann, Bram van der Kolk and Finn Batato.

The men remained free on bail after Wednesday's ruling pending their appeals.

Before the ruling, Dotcom wrote on Twitter: "This is my weirdest Xmas ever."