FORT MEADE, Maryland - US Army Pfc Bradley Manning was acquitted of aiding the enemy for giving secrets to WikiLeaks, but convicted of 5 counts of espionage and 5 counts of theft.

A military judge announced the verdicts Tuesday afternoon in the soldier's court-martial.

Army Col. Denise Lind acquitted Manning of the most serious charge he faced, aiding the enemy, which carried a possible penalty of up to life in prison. However, he still could face years in prison after being convicted of the other charges.

Manning was convicted of 19 charges in all, and faces up to 128 years in prison.

The 25-year-old soldier from Crescent, Oklahoma, has acknowledged sending hundreds of thousands of classified documents and some battlefield video to WikiLeaks while working as an intelligence analyst in Iraq.

The defense portrayed him as a naive whistleblower who wanted to expose war crimes. Prosecutors called him an anarchist hacker and a traitor.