Charlotte, North Carolina: Former CIA Director David Petraeus, whose career was destroyed by an extramarital affair with his biographer, was expected to be sentenced yesterday in federal court in Charlotte for giving her classified material while she was working on the book.

Petraeus was expected to appear at the sentencing, which comes two months after he agreed to plead guilty to a misdemeanour count of unauthorised removal and retention of classified material.

The plea agreement carries a possible sentence of up to a year in prison. In court papers, prosecutors recommended two years of probation and a $40,000 (Dh146,920) fine. But the judge is not bound by that and could still impose a prison sentence.

The agreement was filed in Charlotte, where Paula Broadwell, the general’s biographer and former lover, lives with her husband and children.

The affair ruined the reputation of the retired four-star Army general who led US forces in Iraq and Afghanistan.

As part of his deal, Petraeus agreed not to contest the set of facts laid out by the government.

Prosecutors said that while Broadwell was writing her book in 2011, Petraeus gave her eight binders of classified material he had improperly kept from his time as the top military commander in Afghanistan. Days later, he took the binders back to his house.

Among the secret information contained in the “black books” were the names of covert operatives, the coalition war strategy and notes about Petraeus’ discussions with President Barack Obama and the National Security Council, prosecutors said.

Those binders were later seized by the FBI in an April 2013 search of Petraeus’ Arlington, Virginia, home, where he had kept them in the unlocked drawer of a desk in a ground-floor study.

Prosecutors said that after resigning from the CIA in November 2012, Petraeus had signed a form falsely attesting he had no classified material. He also lied to FBI agents by denying he supplied the information to Broadwell, according to court documents.

Petraeus admitted having an affair with Broadwell when he resigned as CIA director. Both have publicly apologised and said their romantic relationship began only after he had retired from the military.

Broadwell’s admiring biography of him, “All In: The Education of David Petraeus,” came out in 2012, before the affair was exposed.

Petraeus held the CIA post less than a year, not long enough to leave a significant mark on the spy agency. The core of his identity has been a military man.

A PhD with a reputation as a thoughtful strategist, Petraeus was brought in by President George W. Bush to command multinational forces in Iraq in 2007, a period when the war began to turn in favour of the US.