Image copyright Reuters Image caption Bradley Manning is accused of leaking 720,000 diplomatic and military documents

A military officer overseeing the hearing of a US Army analyst accused of leaking government secrets has rejected a request to withdraw from the case.

The request was made by a defence lawyer for Private Bradley Manning, 23, as he appeared at a military court.

He faces 22 charges of obtaining and distributing government secrets - which he allegedly leaked to anti-secrecy site Wikileaks.

The Article 32 hearing will determine whether Pte Manning is to stand trial.

During the hearing, which is expected to last around five days according to the defence team, prosecution and defence lawyers will each make their initial cases and are permitted to cross-examine witnesses.

Friday's session has been adjourned and the hearing is due to resume on Saturday.

Proceeding to trial

The hearing offers the first opportunity for Pte Manning's defence team to present their case since he was arrested in Iraq in May 2010 and placed in military custody.

It is taking place under tight security at an army base at Fort Meade, Maryland.

Pte Manning sat in the courtroom dressed in military khaki and wearing black-rimmed glasses.

But his defence team quickly switched focus by asking for the investigating officer - equivalent to a judge in a civilian court - to withdraw from the case.

Defence lawyer David Coombs said Lt Col Paul Almanza, the investigating officer, was "biased".

At the scene For almost everyone present, this is our first glimpse of the man accused of the biggest leak of confidential material in American history. Private Manning sat in uniform, wearing thick-rimmed glasses, hands clasped before him. In his only remarks so far, he said he understood his rights and confirmed the identities of the one civilian and two military officers representing him. But the focus of attention was the investigating officer. Manning's civilian lawyer demanded he recuse himself, arguing that as prosecutor for the Department of Justice, Lt Col Paul Almanza works for an organisation actively pursuing a separate case against Wikileaks. Mr Coombs said Lt Col Almanza's decision to reject defence witnesses, as well as the government's alleged reluctance to put forward witnesses to explain the damage done by the leaks suggested Almanza was biased. "Where's the damage? Where's the harm?" Mr Coombs demanded, in an early indication of part of his defence strategy.

Lt Col Almanza is a former military judge who now works for the Department of Justice, which has its own investigation into Wikileaks. His refusal to accept all but two of 38 defence witnesses meant the defence could not adequately make their case, Mr Coombs said.

Following two recesses and arguments by the prosecution and the defence, the investigating officer refused to recuse himself and the hearing continued.

Afterwards, recommendations will be made to a military general, who will decide whether to proceed to a full trial.

The BBC's Paul Adams says the soldier's defence team is likely to argue that little harm came of the leaks, and that their release was in the greater public interest.

Assange link?

Pte Manning has also been charged with "aiding the enemy", a charge that could carry the death penalty. However, reports say prosecutors will only seek a prison sentence.

He is accused of the unauthorised possession and distribution of more than 720,000 secret diplomatic and military documents.

"If it is the case that Bradley Manning is indeed the source of this and other Wikileaks materials, Manning would have single-handedly changed hundreds of thousands of people's lives for the better," Wikileaks said in a statement.

"This material has contributed to ending dictatorships in the Middle East, it has exposed torture and wrongdoing in all the corners of the world and it has held diplomatic bodies and politicians accountable for the words, deals and pacts held behind close doors," Wikileaks said.

One of the key questions is expected to be whether Pte Manning had any kind of relationship with Julian Assange, the founder of Wikileaks, our correspondent at Fort Meade says.

Mr Assange is also embroiled in a legal battle, facing extradition to Sweden from the UK to face sexual assault allegations. As Pte Manning was preparing for his own court appearance on Friday, the UK Supreme Court agreed to hear an appeal from Mr Assange against his extradition ruling.

Detention conditions

Pte Manning was arrested after a computer hacker went to US authorities with details of an online exchange he had had with Pte Manning in which he allegedly confessed to the data theft.

The conditions of Pte Manning's confinement since his arrest have been denounced in the US and abroad.

Media playback is unsupported on your device Media caption PJ Crowley: "I think it is a necessary prosecution"

State department spokesman PJ Crowley resigned after publicly criticising the detention conditions of Pte Manning, and British politicians and members of the European Parliament have also spoken out on the subject.

Pte Manning was brought to the maximum security prison at Quantico in July 2010, where he was held in isolation and was reported to have had his clothing removed at night as a suicide-prevention measure.

But in April 2011 Pte Manning was moved to a lower-security prison at Fort Leavenworth, where his lawyers say conditions are better.