The British hacker facing extradition to the the US for hacking into American military computers will know on Friday whether he can seek a judicial review.
The court hearing his request for review was told that Gary McKinnon, 42, of London, could be a suicide risk if his extradition to the US went ahead.
He has been diagnosed with Asperger's Syndrome and his legal team argued his extradition would be inappropriate.
Lawyers for the home secretary played down the risk to Mr McKinnon's health.
Psychosis or suicide
Edward Fitzgerald QC acting for Mr McKinnon told the court: "The very fact of extradition would endanger his health."
The lawyer told the High Court his medical condition was likely to give rise to psychosis or suicide if removed to the US, far away from his family, and he should be allowed to stand trial in the UK.
His legal team are requesting a judicial review into Mr McKinnon's extradition, as he was only diagnosed with Asperger's Syndrome last August.
The condition had not been taken into consideration by Home Secretary Jacqui Smith at the time she decided he should be extradited.
Mr Fitzgerald accused the Home Secretary of failing to inform herself and properly consider these risks before deciding in October last year to permit extradition.
He said she had also failed to request an undertaking from the US that Mr McKinnon, "a seriously disordered person", would be repatriated to serve his sentence in the UK, or request that he be given bail pending trial.
Hugo Keith, appearing for the Home Secretary, argued that the minister had acted within her powers and extradition would not be oppressive or unjust.
Mr McKinnon's risk of mental illness could be mitigated by treatment in the US - "otherwise one would be arguing that no-one with severe or moderately severe mental suffering could ever be extradited".
Lord Justice Maurice Kay and Mr Justice Simon said they hoped to give their decision on Friday.
Mr McKinnon has always admitted hacking into the computer systems in 2001-2 which the US government says cost $800,000 (£550,000) in damage.
He has always said that he had no malicious intent but was looking for classified documents on UFOs he believed the US authorities had suppressed.
Speaking on Thursday, Professor Simon Baron-Cohen, a leading expert on Asperger's Syndrome responsible for the diagnosis of Mr McKinnon said: "If, as I believe, the crime was committed through naivety and through an obsession - in this case with computers and trying to find information - without any intent to deceive, without any attempt to hide what he was doing, we should be thinking about this as the activity of somebody with a disability rather than a criminal activity."
Mr McKinnon's legal team have sent a request to the Director of Public Prosecutions (DPP), Keir Starmer, for him to face trial in the UK rather than the US.
The DPP will give his answer in four weeks time and the court heard today that the Home Secretary had agreed to postpone Mr McKinnon's extradition until the DPP had considered his response.
'Ray of hope'
Speaking on Thursday, his solicitor, Karen Todner, had feared he could be removed to the US within days.
Speaking outside the court Mr McKinnon said: "It's been a good day overall. For a change it's slightly good news - a little ray of hope."
If his legal team can persuade the DPP to try Mr McKinnon in the UK, he would face a three to four year sentence rather than a potential 70 years in US courts.
Voeg toe aan: