A New Zealand court ruled Wednesday against internet entrepreneur Kim Dotcom’s appeal to not be extradited to the U.S. over copyright and money laundering charges.

Dotcom plans to appeal Wednesday’s decision to the New Zealand Supreme Court. The charges stem from the file-sharing website he founded, Megaupload.

ADVERTISEMENT

“An extradition hearing is not a trial. It is held to decide whether there is sufficient evidence to commit a person for trial on a qualifying offense,” the New Zealand Court of Appeals said in its ruling.

The decision upholds a 2017 decision from another New Zealand court.

U.S. authorities claim that Dotcom and his associates, who are also being charged, cost American recording and film companies hundreds of millions of dollars through online piracy on Megaupload.

Dotcom was arrested in 2012 and has been fighting efforts to extradite him to the U.S. in a protracted six-year legal saga that observers see as a test of the U.S.’s ability to enforce its laws protecting American intellectual property abroad.