Image caption Ryan Cleary has been diagnosed with Asperger's syndrome since his arrest

A man accused of hacking the Serious Organised Crime Agency's website has been released on conditional bail.

Ryan Cleary, 19, must observe a curfew between 2100 BST and 0700 BST, be electronically tagged and only leave the house with one of his parents.

The teenager, from Wickford, Essex, is not allowed to access the internet or possess devices which can go online.

He was arrested as part of a Scotland Yard and FBI probe into online hacking group LulzSec.

The group claims responsibility for hacking attempts on Soca, the US Senate and the CIA.

Flooding target

Mr Cleary is alleged to have set up a distributed denial of service (DDOS) attack on the Serious Organised Crime Agency (Soca) on 20 June.

A DDOS attack typically involves flooding a target website with data, in an attempt to overwhelm it so it cannot serve its legitimate users.

His mother, Rita spoke at Southwark Crown court on Monday to say she would agree to any bail conditions imposed on her son, who has been diagnosed with Asperger's syndrome since his arrest.

Describing him as "my life", she said: "I'm aware that I'm his best friend as well as his mother, because he's reclusive."

After the hearing, Mr Cleary's solicitor, Karen Todner, issued a statement on behalf of her client saying he was very relieved to be granted bail "and to go home to his mum, his cats and his books".

She continued: "Ryan has last week at court been diagnosed with Asperger's syndrome, which is a form of high functioning autism.

"He will now be provided with the professional support that he needs. His obvious intelligence can now be channelled into a worthwhile pursuit."

The case is due to be heard again at Southwark Crown Court on 30 August.