Manning gets 35 years with parole, negotiated down from 60- and 90-year sentences. It would probably have been life had the aiding the enemy charges stuck. With the trial over, a few tidbits surfaced: he scanned and uploaded 700,000+ documents to WikiLeaks over a span of several years, and apparently some of the military files were found inside bin Laden's compound after the raid.
He could not have received charges of "aiding the enemy", since we are not officially at war with any nation. Only 5 wars have become official declared by Congress under the US Constitution: War of 1812, Mexican-American War, Spanish-American War, World War I, and World War II. Treason during such a conflict can be considered a capital offense, meaning a Federal death penalty sentence.