The sentence, which followed the terms of a plea deal reached two months ago, did not include any prison time.
Petraeus pleaded guilty to one misdemeanor count of unauthorized removal and retention of eight highly secret "black book" binders that he had improperly retained from his time as top military commander in Afghanistan, WCNC-TV reported.
U.S. Magistrate Judge David Keesler, who was not obliged to accept the terms of the plea deal, asked Petraeus on Thursday if he was guilty of the misdemeanor.
"I am," Petraeus replied, according to WBTV-TV.
Petraeus, wearing a dark blue suit, arrived an hour early for his court appearance and told reporters he would make a statement after the hearing.
[VIDEO] http://bcove.me/xwzh4orc
- Se more: http://www.usatoday.com/story/news/nation/2015/04/23/petraeus-sentencing/26235127/