A lawyer for John McAfee said Tuesday a judge has ordered the software company founder released from a Guatemalan detention center where he has been fighting being returned to Belize.

Lawyer Telesforo Guerra said the judge notified him verbally of the ruling, but added that it may take a day for formal written notification to win McAfee's release, possibly as soon as Wednesday.

Judge Judith Secaida did not immediately return phone calls seeking to confirm the ruling.