Today's sentencing came two months after Petraeus agreed to plead guilty to a misdemeanor count of unauthorized removal and retention of classified material.
The plea agreement carried a possible sentence of up to a year in prison. In court papers, prosecutors recommended two years of probation and a USD 40,000 fine. But the judge was not bound by that.
The agreement was filed in federal court in Charlotte, where Paula Broadwell, the general's biographer and former lover, lives with her husband and children.