lok savidge mcafee goes to hospital _00002728
Attorney: McAfee rushed to the hospital
01:15 - Source: CNN

Story highlights

NEW: McAfee could be released as early as next week, his lawyer says

The 67-year-old software company founder is back in immigration detention

McAfee's attorneys request an injunction, saying "due process has been violated"

They're requesting an injunction from Guatemala's Supreme Court

Guatemala City CNN  — 

A judge in Guatemala has granted a stay of the deportation of John McAfee to Belize, where authorities want to question him about the killing of a neighbor, an attorney for the internet software pioneer said Friday.

Under the order, McAfee will remain in Guatemala until his immigration case is heard in court, which may be more than a month, Telesforo Guerra told CNN.

McAfee remains in an immigration detention center in Guatemala City but could be released as early as next week, the lawyer said.

Authorities in Belize want to talk to him about the November 11 killing of his neighbor, American businessman Gregory Faull.

The judicial victory came a day after McAfee’s bid for asylum was rejected. Also Thursday, the 67-year-old was taken to a police hospital, where he was treated for cardiovascular problems, his legal team said.

Later, attorney Guerra said McAfee had suffered a nervous breakdown and that tests had shown he did not have heart problems.

McAfee was feeling better Friday, Guerra said.

Standing outside the police hospital as ambulance lights flashed nearby, attorney Karla Paz said officials had unjustly rejected McAfee’s petition without weighing the evidence.

“Due process has been violated. The right to defense has not been respected,” she said.

Read more: McAfee’s exit from Belize ends in detention

The events were the latest in a saga that includes poisoned dogs, a dead neighbor and international intrigue.

Guatemalan authorities took McAfee into custody Wednesday on accusations of entering the country illegally.

After weeks in hiding, anti-virus software company founder emerged publicly Tuesday in Guatemala’s capital, hundreds of miles from the Caribbean island in Belize where his next-door neighbor was found dead.

McAfee requested asylum in Guatemala, arguing that he left Belize to escape police persecution.

But Guatemalan authorities found there was no basis for his asylum request, presidential spokesman Francisco Cuevas said Thursday.

McAfee founded his namesake computer security software in 1987, initially running it out of his home in California. He sold his stake in McAfee Associates in 1994 and moved to Belize in 2008.

On November 9, he told police someone poisoned his four dogs there. To put them out of their misery, he shot each in the head and buried them on his property, according to a former girlfriend.

The dogs’ barking and aggressive behavior was a frequent source of friction between the two neighbors.

Read more: A bizarre visit to John McAfee’s pleasure palace in Belize

Two days after the dogs were poisoned, Faull’s body was found, fatally shot in the head.

McAfee has said he had nothing to do with the death and accused Belize authorities of being out to get him for having refused months earlier to pay a bribe to a politician.

Belize police say they only want to talk with McAfee.

“He’s really gone out of his way to make the country look bad,” police spokesman Raphael Martinez said this week. “We just believe he should, if he’s innocent as he’s saying he is, he should bring in his lawyer, and let’s get to the bottom of this and say what he needs to say and let’s move on.”

CNN’s Martin Savidge and Michael Martinez contributed to this report.