Lind found that Manning suffered illegal pretrial punishment during nine months in a Marine Corps brig in Quantico, Va. She awarded a total of 112 days off any prison sentence Manning gets if he is convicted. Defense attorneys had sought to have the charges against him dismissed.

Manning was confined to a windowless cell 23 hours a day, sometimes with no clothing. Brig officials say it was to keep him from hurting himself or others.

He is charged with aiding the enemy and 21 other offenses. His trial begins March 6.