A military judge refused on Wednesday to throw out the charges against an Army private accused of providing reams of sensitive documents to Wikileaks in the biggest leak of government secrets in U.S. history.

Army Col. Denise Lind denied the defense motion to dismiss all 22 charges during a pretrial hearing in the court-martial of Pfc. Bradley Manning. The ruling means the hearing that’s mainly concerned with the exchange of evidence will continue. It’s scheduled to run through Thursday.

The defense has filed a separate motion seeking dismissal of the most serious charge, aiding the enemy. That offense carries a maximum penalty of life imprisonment. Lind tentatively scheduled the trial to run from Sept. 21 through Oct. 12. Manning hasn’t entered a plea to the charges.