Megaupload founder Kim Dotcom was granted bail in a New Zealand court this morning after a judge found he is not a flight risk, disagreeing with two previous rulings that kept him in jail.

Dotcom and several others ran Megaupload, a now-defunct file-sharing site that drew the ire of the entertainment industry for its alleged illegal trade in material under copyright protection.

The US is seeking to extradite Dotcom, who was indicted along with six others by a US grand jury in January on copyright infringement, racketeering and money laundering charges. The US Department of Justice alleges Megaupload collected $175 million in criminal proceeds and caused more than $500 billion in damages to copyright holders.

Dotcom was arrested during a dramatic raid last month at his rented mansion near Auckland, where law enforcement officials extracted him from a special safe room.

Flight risk

He was denied bail in two previous hearings after US government representatives contended that he was a flight risk, arguing that he holds German and Finnish passports and possibly still had access to other secret funds.

But District Court Judge N.R. Dawson wrote in his ruling this morning that by fleeing, Dotcom "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 or frozen."

The Megaupload founder is "an extremely wealthy man," but the US government has not shown since Dotcom's arrest that he has access to any money, Dawson wrote.

59 bank cards

The judge considered a sworn statement from Bonnie Lam, Megaupload's chief financial officer in Hong Kong, who said she took care of Dotcom's personal finances, saying he was "not a well-organised person," according to Dawson's ruling.

Law enforcement officials found that Dotcom held 59 credit or bank cards in 13 different names, of which only 21 were still valid. Dotcom's former surname was "Schmitz," but he had also gone by the names "Kim Vestor" and "Kim Tim Jim Vestor."

Since Dotcom's arrest, four bank accounts set up for the benefit of his wife's family in the Philippines were revealed by the US, but those accounts appear to be empty, the judge wrote.

If Dotcom were to flee to Finland or Germany, he could be prosecuted in either of those countries, Dawson wrote. "Absconding to either of those countries would not result in an immunity from prosecution," Dawson wrote.

No date has been set for Dotcom's extradition hearing. According to the court ruling, the hearing is likely to take four days but not begin until July.