The judge overseeing the Kim Dotcom extradition case has stepped down after making comments suggesting the United States was the "enemy".
Judge David Harvey surrendered his role in the case after making comments during a copyright discussion at an internet conference.
An internet law expert, Judge Harvey had been considered the perfect choice to hear arguments on whether Dotcom and his Megaupload colleagues should be extradited by the United States to face charges of criminal copyright violation.
The district court's chief judge Jan-Marie Doogue said Judge Harvey had made the decision to step down from hearing the case.
"He recognises that remarks made in the context of a paper he delivered on copyright law at a recent internet conference could reflect on his impartiality and that the appropriate response is for him to step down from the case."