Megaupload boss Kim Dotcom was freed on bail in a surprise move, after a New Zealand judge dismissed fears the internet tycoon would flee the country to escape US online piracy charges.
The 38-year-old German national on Wednesday said he was relieved to be released following a month in custody after New Zealand police, cooperating with a major US probe, raided his sprawling "Dotcom Mansion" in Auckland.
Dotcom's lawyer Paul Davison said his client remained determined to fight US allegations that he masterminded "massive worldwide online piracy" through file-sharing website Megaupload and associated sites.
"My client's proposition is that the case they have presented doesn't have any substantial basis at all and, when it is analysed and revealed for what it is, that will be the view that prevails," he said.
The bail decision is a setback for US authorities, who are seeking to extradite Dotcom and three others arrested in the January 20 raid.
Two previous bail hearings had accepted the prosecution case that the Internet millionaire was an "extreme flight risk" because he had the wealth and possible criminal connections to slip out of the country if he wanted.
But Judge Nevin Dawson said the danger of Dotcom fleeing had diminished because all his funds had been seized and investigators had not uncovered any new bank accounts or assets in his name since his arrest.
Dawson said Dotcom "has every reason" to stay in New Zealand, rather than go on the run.
"He would live his life as a fugitive, he would be abandoning his expectant wife and three children and he would effectively lose all the considerable assets and bank accounts in a number of countries that have been seized," he said.
The judge granted Dotcom bail but barred him from accessing the Internet and helicopter flights, ordering him to stay in his Auckland property unless there was a medical emergency.
Dotcom, who allegedly earned $42 million from his Internet business in 2010 alone, declined to comment on his case, aside from saying his treatment by New Zealand police "resembled an audition for American Idol".
"I just want to go home and see my family," he told reporters. "It's been a month so I'm really happy to be out."
The US Justice Department and FBI allege Megaupload and related sites netted more than $175 million in criminal proceeds and cost copyright owners over $500 million by offering pirated copies of movies, TV shows and other content.
Megaupload was founded in 2005 but shut down last month when its assets were frozen as part of the US probe.
A US application for Dotcom's extradition is expected to be heard on August 20. US authorities have said they will seek the maximum penalty of 20 years in jail if he is brought before a US court.
The three other Megaupload executives arrested with Dotcom, who legally changed his name from Kim Schmitz, had already been granted bail.
Police seized a 1959 pink Cadillac, numerous other luxury cars and valuable artworks in the raid on Dotcom's home.
Since his arrest, there has been a steady stream of media revelations about his extravagant lifestyle, including claims his mansion had a swimming pool filled with imported spring water and gold toilet roll holders.
The portly millionaire also reportedly had a butler in his mansion whose duties included retrieving stray ping pong balls when Dotcom was playing table tennis.
Prime Minister John Key said this month that since Dotcom's arrival in New Zealand in early 2010, his office had received complaints from the public about loud parties and cars speeding around the mansion, which is in his electorate.
Key said his staff had passed the complaints on to police.
A documentary uploaded online shows Dotcom, surrounded by topless women, spraying champagne on board a superyacht during a "crazy weekend" in Monaco that reportedly cost $10 million.
"Fast cars, hot girls, superyachts and amazing parties. Decadence rules," said the blurb accompanying the documentary, which Dotcom dedicated to "all my fans".
Explore further: Megaupload founder denies piracy, demands release