On June 30, 2011, Petraeus was unanimously confirmed as the Director of the CIA by the U.S. Senate 94–0. Petraeus relinquished command of U.S. and NATO forces in Afghanistan on July 18, 2011, and retired from the U.S. Army on August 31, 2011. On November 9, 2012, he resigned from his position as director of the CIA, citing his extramarital affair with his biographer Paula Broadwell, which was reportedly discovered in the course of an FBI investigation. In January 2015, officials reported the FBI and Justice Department prosecutors had recommended bringing felony charges against Petraeus for allegedly providing classified information to Broadwell while serving as director of the CIA. Eventually, Petraeus pleaded guilty to one misdemeanor charge of mishandling classified information.