An Army private charged in the biggest security breach in U.S. history has testified that he felt like a doomed, caged animal after he was arrested in Baghdad for allegedly sending classified information to the secret-spilling website WikiLeaks.

Pfc. Bradley Manning testified Thursday at a pretrial hearing at Fort Meade, outside Baltimore. His lawyers are seeking dismissal of all charges, contending his pretrial confinement in a Quantico, Va., Marine Corps brig was needlessly harsh.

Before he was sent to Quantico in July 2010, Manning spent weeks in a cell in a segregation tent at Camp Arifjan, an Army installation in Kuwait.

Manning says he remembers thinking "I'm going to die, I'm stuck inside this cage."