3 March 2015
Last updated at 17:02
David Petraeus, a former CIA director and four-star general, has reached a plea deal with the US Justice Department in which he will admit to mishandling classified materials.
It ends a long investigation into whether he provided secret information to his mistress.
He resigned from his post at the CIA in 2012, after it emerged he was having an affair with his biographer.
A Justice Department statement said a plea agreement had been filed.
The deal means that Mr Petraeus will plead guilty to one count of unauthorized removal and retention of classified material, but could avoid an embarrassing trial.
The charge carries a maximum sentence of one year in prison, the New York Times reported.
Mr Petraeus has signed the deal, Justice Department spokesman Marc Raimondi confirmed to the BBC.
Paula Broadwell met Mr Petraeus while interviewing him for her book
The retired four-star general was in charge of America’s recent wars in Iraq and Afghanistan, and was once considered a contender for the Republican presidential ticket.
He had an affair with Paula Broadwell in 2011 during which time she was interviewing him for a biography she was writing.
Three days after the 2012 general election, Mr Petraeus resigned as the director of the CIA and admitted to the affair but at the time he denied any criminal wrongdoing.
The FBI discovered the affair during a cyberstalking investigation following allegations made by one of the former general’s friends.
They determined that Ms Broadwell had been sending threatening emails to the friend, and during the investigation they discovered evidence that suggested Mr Petraeus had shared the classified information.