A terror suspect, who cannot be named and who is alleged to have been a member of a group with links to Osama Bin Laden, has been allowed to stay in the UK after a judge agreed the threat of deportation damaged his mental health

An Algerian terror suspect who allegedly had links to Osama Bin Laden has won the right to stay in the UK after a judge agreed the threat of deportation has damaged his mental health.

The man, who cannot be named, has been accused of helping young British Muslims travel to terrorist training camps.

The wheelchair bound suspect has been fighting to stay in the UK for 21 years, the Telegraph reported.

But in the latest blow to the government's efforts to deport foreign terror suspects, a judge ruled the man can be allowed to stay in the country because he is not a threat to national security.

He is even allowed to study for a degree in Algebraic Thinking at the Open University.

The Home Office has previously refused to grant him the right to remain in the UK, and had imposed restrictions saying he must stay at his home address and report to a police station every month.

It claimed he was a supporter of Algerian terror organisation Salafist Group for Call and Combat.

The group has links to Al Qaeda's former chief Osama Bin Laden and calls for an Algerian Islamic State.

The man, referred to as 'G', came to the UK with a fake French passport in 1995.

In 2001, the government first tried to deport him after claiming he was a national security risk.

The decision is the latest blow to the government's efforts to deport foreign terror suspects. Amber Rudd, pictured, has pledged to change the law

The Government alleged: 'Your activities on behalf of the group and of extremist fighters in Chechnya include sponsoring young Muslims in the UK to go to Afghanistan to train for Jihad.'

In the ruling by the Special Immigration Appeals Commission, made on December 16, Mr Justice Collins said: 'While I am not persuaded that the effect of maintaining short leave and conditions is to breach Article 3 of the ECHR, there can be no question that that is having an adverse effect on his mental health.'

Article 3 of the European Convention on Human Rights is the right not to suffer torture, inhumane or degrading treatment. Lawyers for the suspect argued that the uncertainty about his residency amounted to a breach of the convention.

Home Secretary Amber Rudd has vowed to change the law to make it easier to deport foreign criminals or those thought to be a security risk.

The government spent more than 10 years trying to kick hate cleric Abu Hamza out of the country in a legal case that cost the taxpayer £25 million.

He was arrested on a US extradition warrant in 2004 but was not taken before a US court until 2014.

He used a string of human rights appeals to try and remain in the country.