CIA Director David H. Petraeus resigned Friday and admitted to having an extramarital affair, bringing a shocking end to his brief tenure at the spy agency and highly decorated national security career. 
 
 The affair came to light as part of an FBI investigation into a potential security breach involving Petraeus’s e-mails, according to federal law enforcement officials and a former senior intelligence official. The investigation uncovered e-mails describing an affair between Petraeus and Paula Broadwell, a former military officer and co-author of a glowing biography of Petraeus, according to two law enforcement officials who were briefed on the investigation. 
 
 Petraeus, a retired four-star Army general who once was seen as a potential presidential candidate, met with President Obama on Thursday and said he intended to step down because of the affair, Obama administration officials said. The president accepted his resignation Friday. 
 
 “After being married for over 37 years, I showed extremely poor judgment by engaging in an extramarital affair,” Petraeus said in a statement distributed to the CIA workforce Friday. 
 
 “Such behavior is unacceptable, both as a husband and as the leader of an organization such as ours. This afternoon, the president graciously accepted my resignation,” he said. 
 
 1 of 46 Full Screen Autoplay Close Skip Ad × Gen. David Petraeus View Photos The retired four-star Army general who commanded forces in Iraq and Afghanistan has resigned from the head of the CIA, citing an extramarital affair. Caption The ex-CIA director gives his first public speech since leaving the agency and apologizes for his extramarital affair. March 26, 2013 David H. Petraeus, the former CIA director and a retired four-star general, receives a plaque of appreciation at the University of Southern California after making his first public speech since resigning as the agency’s director. The Los Angeles event was a dinner honoring veterans and ROTC students. Kevork Djansezian/Getty Images Buy Photo Wait 1 second to continue. 
 
 A senior administration official said the White House learned only Wednesday that Petraeus had a potentially serious problem. The official said that Petraeus telephoned Thomas E. Donilon, the national security adviser, early Thursday and asked to meet with Obama. 
 
 The investigation is not expected to result in accusations of criminal wrongdoing by Petraeus or Broadwell, according to the two law enforcement officials, who spoke on the condition that their names be withheld because they were not authorized to speak publicly. 
 
 Paul Bresson, an FBI spokesman, refused to comment. Attempts to reach Broadwell were unsuccessful. A CIA spokesman declined to answer questions about the timing of the affair or Petraeus’s decision to disclose it to the White House. 
 
 Current and former U.S. military officials said suspicions of infidelities had followed Petraeus for several years. 
 
 The sudden departure of Petraeus created turmoil in the administration’s national security team just days after the president’s reelection. That team was expected to see a series of changes in the coming months, but many believed that Petraeus would remain in position. 
 
 In a statement, Obama said Petraeus has “provided extraordinary service to the United States for decades,” adding that “through his lifetime of service David Petraeus has made our country safer and stronger.” 
 
 The statement did not directly address Petraeus’s reason for resigning, but the president said that his “thoughts and prayers are with Dave and Holly Petraeus, who has done so much to help military families through her own work. I wish them the very best at this difficult time.” 
 
 Holly Petraeus is an assistant director of the U.S. Consumer Financial Protection Bureau, where she is charged with advocating on behalf of service members and their families. She and her husband met in 1973 at the U.S. Military Academy at West Point, where her father was superintendent. 
 
 Broadwell, who also is married, is a West Point graduate and a research associate at Harvard University. She is the co-author of “All In: The Education of General David Petraeus.” (The book’s co-author was Vernon Loeb, local editor at The Washington Post.) 
 
 In earlier interviews, Broad­well described meeting Petraeus in 2006 at Harvard, where she was working on a dissertation about leadership. She said they soon started e-mailing and discussing her research. 
 
 In the preface to the book, Broadwell said that after Obama picked Petraeus to lead U.S. 
 
 forces in Afghanistan in June 2010, he invited her to Kabul, and she decided to turn her dissertation into a biography. She made repeated trips to Afghanistan to spend time observing Petraeus. 
 
 In describing Petraeus in a CBS News interview two months ago, she said: “He, at the end of the day, is human and is challenged by the burdens of command. . . . So, he has this mask of command — you think he’s really confident — but I got to see a more personal side. He’s confident, but he’s also very compassionate about the loss of troops and sacrifices we’re making in Afghanistan.” 
 
 Petraeus was scheduled to testify next week on Capitol Hill in hearings on the deaths of four Americans, including the U.S. ambassador and two CIA security officers, in Libya in September. 
 
 U.S. officials insisted that the controversy surrounding the attack — and the administration’s shifting accounts of it — played no role in Petraeus’s decision to resign. 
 
 Petraeus’s 14-month tenure as CIA director is one of the shortest in agency history. 
 
 Michael J. Morell, who served as Petraeus’s deputy at the CIA, will serve as interim director, a position he occupied for several months before Petraeus was sworn in. Morell is seen as a leading candidate to replace Petraeus, but there are others, including Michael G. Vickers, a former CIA paramilitary officer now serving as undersecretary of defense for intelligence. 
 
 Petraeus came into the CIA job after a highly decorated Army career that included command of the war efforts in Iraq and Afghanistan, which made him one of the most venerated officers of his generation. 
 
 Sen. Dianne Feinstein (D- 
 
 Calif.), chairman of the Senate Intelligence Committee, said Friday that she believed Petraeus’s infidelity did not require him to resign. 
 
 “I wish President Obama had not accepted this resignation, but I understand and respect the decision,” she said in a statement. She described Petraeus’s resignation as an “enormous loss for our nation’s intelligence community and for our country.” 
 
 The nature of Petraeus’s resignation is likely to leave a stain on the polished reputation he cultivated during his 37-year military career. Petraeus was widely credited with helping to reverse the course of the war in Iraq and overhauling the military’s approach to counterinsurgency fighting. Petraeus was later handed command of the war in Afghanistan, where success proved more elusive. 
 
 Because of his evident ambition and abundant publicity, some military rivals saw Petraeus as preening and self-aggrandizing. He did little to discourage speculation that he could be a presidential or vice presidential candidate and quietly campaigned for the CIA job when his path to higher military positions was blocked. 
 
 At the agency, Petraeus presided over an expansion of the CIA’s Predator drone campaign in Yemen and was recently behind a push to expand the agency’s drone fleet. He was involved in decisions to carry out controversial strikes, including the Predator attacks last year that killed two U.S. citizens: the al-Qaeda figure Anwar al-Awlaki and his teenage son. 
 
 Petraeus, who retired from the military last year, is still subject to the Uniform Code of Military Justice, which classifies adultery as a crime. 
 
 Practically speaking, however, the odds are extremely low that the military would prosecute a retired officer for having an affair, said Eugene R. Fidell, a prominent military law expert who teaches at Yale University. 
 
 “They’re as close to zero as you can get,” Fidell said. “It would have to be a grave matter before the executive branch would prosecute a retiree.” 
 
 Petraeus married Holly two months after graduating from West Point. His courtship was seen as audacious because of her father’s rank at the elite military academy. They have two children, Stephen, who became an Army officer, and Anne. 
 
 Petraeus has frequently praised his wife in public appearances for her sacrifices and contributions to his career, and he characterized his return to Washington as an opportunity for them to be closer after his years-long assignments overseas. 
 
 As Petraeus assumed a low profile when he moved to the CIA, his wife became increasingly visible at the Pentagon as part of her work for a government agency that helps service members manage their finances. In recent months, she has traveled to dozens of military bases around the country to counsel soldiers about predatory lending, student loans and debt. 
 
 Max Fisher, Ernesto Londoño, Julie Tate, Joby Warrick, Craig Whitlock and Scott Wilson contributed to this report. ||||| Editor's note: Retired Gen. David Petraeus stepped down Friday as head of the Central Intelligence Agency - 14 months after taking the job, days after the presidential election and days before he was to testify before Congress about an attack on a U.S. consulate in Libya that left four Americans dead. 
 
 [Updated at 7:59 p.m.] Speaking on CNN's "Erin Burnett OutFront," Rep. Peter King (R-New York) called Petraeus' resignation "a real loss for the country, a real loss for the CIA." 
 
 "We're going to lose the best man for the job, but again America is adaptable," said the chairman of the House Homeland Security Committee. "Put it this way, anytime you lose a David Petraeus, the country is not as safe as it could be." 
 
 [Updated at 7:11 p.m.] The FBI investigated a tip that the woman Petraeus was involved in an extramarital affair with was Paula Broadwell, who co-wrote a biography about him, a U.S. official said. 
 
 Broadwell spent a year with Petraeus in Afghanistan, interviewing him for the book "All In: The Education of General David Petraeus." 
 
 CNN has not been been able to reach Broadwell for comment. It is not clear if Broadwell is the woman with whom Petraeus had admitting having an affair, leading to his resignation Friday as the head of the CIA. 
 
 [Updated at 5:43 p.m.] After getting a tip that Petraeus was involved in an extramarital affair, the FBI launched an investigation to see if this relationship posed a "potential security risk," a U.S. official said. The official added there is no suggestion the FBI was probing Petraeus for any criminal wrongdoing, only because they feared he might be "in a vulnerable spot." 
 
 [Updated at 5:40 p.m.] The woman who David Petraeus had an affair with was not a member of the armed forces or the CIA, sources close to Petraeus told HLN's Kyra Phillips. The retired general is extremely disappointed in himself and devastated that he's hurt his family, the sources say. 
 
 [Updated at 4:52 p.m.] Acting CIA Director Michael Morrell will testify next week before the Senate Intelligence Committee about the fatal attack in Benghazi instead of David Petraeus, according to the office of that committee's chairwoman, Sen. Dianne Feinstein. 
 
 [Updated at 4:25 p.m.] U.S. Sen. John McCain extolled Petraeus as one of "America's greatest military heroes," expressing his gratitude for his "decades of work on behalf of our nation, our military and our security." McCain, an Arizona Republican and the ranking member of the Senate Armed Services Committee, added, "His inspirational leadership and his genius were directly responsible - after years of failure - for the success of the surge in Iraq." 
 
 [Updated at 3:59 p.m.] Sen. Dianne Feinstein, the head of the Senate Intelligence Committee, said, "I wish President Obama had not accepted this resignation, but I understand and respect the decision." 
 
 The California Democrat praised Petraeus for giving the CIA "leadership, stature, prestige and credibility both at home and abroad," calling him reliably in "command of intelligence issues" and "especially cooperative with Congress." 
 
 [Updated at 3:53 p.m.] The chairman of the House Homeland Security Committee praised outgoing CIA Director David Petraeus, saying, "I regret his resignation and wish him and his family the very best." 
 
 "Gen. Petraeus is one of America's most outstanding and distinguished military leaders and a true American patriot," said Rep. Peter King, a Republican from New York. 
 
 
 
 [Updated at 3:41 p.m.] David Petraeus met with President Barack Obama on Thursday, at which time the then CIA director offered his resignation, a senior administration official said. The president then formally accepted Petraeus' resignation in a phone call Friday afternoon, according to the same official. 
 
 [Updated at 3:38 p.m.] President Obama said, in a statement, that today he accepted Petraeus' resignation as CIA director. 
 
 The president added he is "completely confident that the CIA will continue to thrive and carry out its essential mission," now under the leadership of Acting Director Michael Morrell. 
 
 Obama lauded Petraeus for his "extraordinary service to the United States for decades," calling him "one of the outstanding general officers of his generation" and praising his work as CIA director. 
 
 The president concluded by saying, "Going forward, my thoughts and prayers are with Dave and Holly Petraeus, who has done so much to help military families through her own work. I wish them the very best in this difficult time." Holly Petraeus led the Consumer Financial Protection Bureau’s Office for Servicemembers Affairs. 
 
 [Updated at 3:17 p.m.] Shortly before Petraeus' resignation was announced, White House press secretary Jay Carney told reporters that "the president thinks Gen. Petraeus has done an excellent job." 
 
 When asked about the general's job status, Carney reiterated that President Obama approves of the job done by the CIA director while adding, "I don't have personnel announcements to make from here today." 
 
 [Updated at 3:13 p.m.] Petraeus issued a statement announcing his resignation, saying, "After being married for over 37 years, I showed extremely poor judgment by engaging in an extramarital affair. 
 
 "Such behavior is unacceptable, both as a husband and as the leader of an organization such as ours. This afternoon, the president graciously accepted my resignation." 
 
 [Initial post, 3:08 p.m.] CIA Director David Petraeus submitted his resignation Friday to President Barack Obama, citing personal reasons, a U.S. government source said. 
 
 According to the source, Petraeus admitted to having an extramarital affair when he asked to resign. 
 
 A retired U.S. Army general who served as the top U.S. commander in Iraq and Afghanistan, Petraeus was sworn in as the head of the CIA in September 2011. 
 
 Director of National Intelligence James Clapper issued a statement Friday confirming that Petraeus had turned in his resignation, saying his "decision to step down represents the loss of one of our nation's most respected public servants." ||||| NBC's Brian Williams and NBC's Andrea Mitchell report on the resignation of well-regarded former General David Petraeus from the CIA after he admitted an affair. 
 
 WASHINGTON -- CIA Director David Petraeus resigned Friday, citing an extramarital affair and "extremely poor judgment." 
 
 As first reported by NBC News, Petraeus disclosed the affair in a letter released to the CIA work force on Friday afternoon, writing: "Such behavior is unacceptable, both as a husband and as the leader of an organization such as ours." 
 
 Petraeus told President Barack Obama of his affair and offered his resignation during a meeting Thursday, a senior official told NBC News. 
 
 In a statement, Obama said he accepted Petraeus’s resignation on Friday. 
 
 "By any measure, through his lifetime of service, David Petraeus has made our country safer and stronger," Obama said of the four-star general, who led American forces in Iraq and Afghanistan. 
 
 Petraeus' biographer, Paula Broadwell, is under FBI investigation for improperly trying to access his email and possibly gaining access to classified information, law enforcement officials told NBC News on Friday. She is the author of Petraeus' biography, "All In." Broadwell had extensive access to Petraeus in Afghanistan and has given numerous television interviews speaking about him. 
 
 Law enforcement and multiple U.S. officials told NBC News that emails between Petraeus and Broadwell were indicative of an extra-marital affair. 
 
 Broadwell could not be reached by NBC News for comment. 
 
 David Petraeus a battlefield 'hero' and savvy Washington insider 
 
 Petraeus himself is not under investigation. 
 
 A U.S. military official and long-time aide to Petraeus told NBC News the director resigned "because he screwed up." 
 
 "In his mind, in his views, with his code of ethics and morals, he did a very dishonorable thing," the official said. "This had nothing to do with Benghazi, nothing to do with his relationship with the White House." 
 
 Petraeus was appointed CIA director in April 2011, replacing Leon Panetta, who moved to the Pentagon to become defense secretary. 
 
 Petraeus served as commander of the war in Afghanistan in 2010-2011. Before that, he served as commander of the U.S. Central Command and as the commanding general of U.S. forces in Iraq. Because of those roles, he was seen as bringing a “customer’s eye” to the intelligence job. 
 
 Sen. Dianne Feinstein, D-Calif., chair of the Senate Intelligence Committee, told NBC News that Petraeus’s personal mistake should not have led to his departure. 
 
 "I would have stood up for him," Feinstein said in response to his indiscretion. "I wanted him to continue. He was good, he loved the work, and he had a command of intelligence issues second to none." 
 
 Mandel Ngan / AFP - Getty Images file General David Petraeus, center, takes the oath of office as the next director of the CIA from Vice President Joe Biden, right, as Petraeus's wife, Holly, watches on Sept. 6, 2011 during a ceremony at the Roosevelt Room of the White House in Washington, D.C. 
 
 Feinstein said she respects Obama’s decision to accept the Petraeus resignation, but wishes he hadn't. 
 
 She also said Petraeus will not need to testify at hearings she is chairing next week into the attack on the U.S. consulate in Benghazi, Libya. Ambassador Christopher Stevens and three other Americans were killed in the attack. 
 
 Rep. Peter King, R-NY, chairman of the House Committee on Homeland Security, said he regrets Petraeus's resignation. "General Petraeus is one of America's most outstanding and distinguished military leaders and a true American patriot," King said in a statement. 
 
 Sen. John McCain, R-Ariz., said it was Petraus's "genius" that was responsible "for the success of the surge in Iraq." 
 
 "General David Petraeus will stand in the ranks of America's greatest military heroes," McCain said in a statement. 
 
 Multiple sources tell NBC News that Mike Morrell, the deputy CIA director and a longtime CIA officer, would likely be offered the job as acting director, with the understanding that he may be elevated to the job permanently. 
 
 That's how George Tenet got the job, first as deputy director in July 1995, then acting director following the resignation of John Deutch in December 1996 and finally as director in July 1997, staying on in the Bush administration. 
 
 Morrell is a longtime CIA analyst and was an eyewitness to two of the most momentous events in recent U.S. history. He was traveling with President George W. Bush on Sept. 11, 2001, as the president's briefer, and was in the Situation Room on May 1, 2011, as deputy CIA Director, when Navy SEALs killed Osama bin Laden. 
 
 Morell began his agency career as an analyst tracking international energy issues and subsequently worked for 14 years as an analyst and manager on East Asia. In 1999, he was appointed director of the Office of Asian Pacific and Latin American Analysis. He also has served as a presidential briefer, as chief of the staff that produces the president's daily briefing, and as an executive assistant to CIA Director George J. Tenet. 
 
 From 2003 until 2006, he served overseas. Upon his return, he was briefly deputy director for intelligence at the National Counterterrorism Center before being asked to become associate deputy director at the CIA. 
 
 NBC's Andrea Mitchell reports on the resignation of CIA Director David Petraeus after citing an extra-marital affair and apologizing for poor judgment. 
 
 Here is the full text of Petraeus' letter: 
 
 HEADQUARTERS Central Intelligence Agency 9 November 2012 
 
 Yesterday afternoon, I went to the White House and asked the President to be allowed, for personal reasons, to resign from my position as D/CIA. After being married for over 37 years, I showed extremely poor judgment by engaging in an extramarital affair. Such behavior is unacceptable, both as a husband and as the leader of an organization such as ours. This afternoon, the President graciously accepted my resignation. As I depart Langley, I want you to know that it has been the greatest of privileges to have served with you, the officers of our Nation's Silent Service, a work force that is truly exceptional in every regard. Indeed, you did extraordinary work on a host of critical missions during my time as director, and I am deeply grateful to you for that. Teddy Roosevelt once observed that life's greatest gift is the opportunity to work hard at work worth doing. I will always treasure my opportunity to have done that with you and I will always regret the circumstances that brought that work with you to an end. 
 
 Thank you for your extraordinary service to our country, and best wishes for continued success in the important endeavors that lie ahead for our country and our Agency. With admiration and appreciation, 
 
 David H. Petraeus 
 
 Andrea Mitchell is NBC News’ chief foreign affairs correspondent. Robert Windrem is NBC News’ senior investigative producer. NBC News Chief White House Correspondent Chuck Todd contributed to this report. 
 
 More content from NBCNews.com: 
 
 Follow US news from NBCNews.com on Twitter and Facebook ||||| New details emerged on Sunday about the extramarital affair that abruptly ended the career of CIA chief David Petraeus, including the identity of a second woman whose complaints about harassing emails from the woman with whom he had the relationship, Paula Broadwell, prompted an FBI investigation. 
 
 A person familiar with the investigation identified the second woman as Jill Kelley, a long-time friend of the Petraeus family and a Tampa, Florida volunteer social liaison with military families at MacDill Air Force Base. 
 
 Kelley went to the FBI after receiving threatening emails that eventually were traced to Broadwell, law enforcement and security officials have said, prompting an investigation that turned up evidence that Petraeus and Broadwell were having an extramarital affair. 
 
 "We and our family have been friends with General Petraeus and his family for over five years. We respect his and his family's privacy and want the same for us and our three children," Kelley said in a statement obtained by ABC News. 
 
 Broadwell has not been available for comment and both the FBI and CIA have declined public comment on the matter. 
 
 Petraeus has made no public comment since he announced his resignation on Friday. 
 
 The affair has raised questions about whether U.S. national security was ever at risk and the timing of law enforcement and intelligence officials' revelation of the matter to the White House, as well as who knew about the investigation before last week's presidential election. 
 
 Meanwhile, a former spokesman for Petraeus during his time as an Army general has said the affair with Broadwell, an Army reserve officer who co-authored a glowing biography of him, began after Petraeus retired from the Army in August 2011 to lead the spy agency and ended four months ago by mutual consent. 
 
 Retired Colonel Steven Boylan, who was Petraeus' spokesman in Iraq and has spoken to the general since he resigned at the CIA, downplayed the question of whether U.S. security had been at risk. He said Petraeus never gave Broadwell classified information or communicated with her via his government email. 
 
 "My understanding is that she was only at the CIA twice. And at no time, based on conversations with him, did he provide her classified information, nor did she receive anything from him in that manner," Boylan said in an interview. 
 
 "My understanding is that they mutually determined that it was time to end it," he said, adding that Petraeus "knows he made a huge mistake" and is now trying to focus on his family. "It wasn't right. And it was done. That was about four months ago." 
 
 A law enforcement official, speaking on condition of anonymity, said Petraeus was first interviewed in connection with the FBI investigation during the week of October 28, about a week after Broadwell was questioned. The FBI informed Petraeus' boss, Director of National Intelligence James Clapper, in the early evening of Election Day, November 6. 
 
 Senior U.S. officials said Clapper then informed the White House's National Security Council staff of the issue and Petraeus' intention to resign on Wednesday, the morning after President Barack Obama was re-elected to a second four-year term. Obama was informed later that day, they said. 
 
 "EXTREMELY POOR JUDGMENT" 
 
 Petraeus, a widely admired soldier-scholar credited with turning around the U.S. war in Iraq and who led NATO and U.S. troops in Afghanistan, announced his resignation in a letter to the CIA workforce on Friday, acknowledging "extremely poor judgment" in having an extramarital affair. 
 
 The person familiar with the investigation said Kelley initially approached a Florida field office of the FBI - not FBI headquarters - with a complaint of cyber-harassment. She had received numerous intimidating emails from a handful of different, opaque pseudonymous addresses. 
 
 The nature of the emails, according to the source, who was briefed on their contents, was "I know what you're doing" and similar suggestions that someone was onto Kelley. There was no explicit threat of violence. 
 
 Upon tracing them, the FBI found out that Paula Broadwell was behind them, this source said. They also found correspondence between Broadwell and Petraeus leading to the revelation of an affair between them. 
 
 High-level Justice Department officials were informed in late summer 2012 of an ongoing investigation involving Petraeus, according to a law enforcement official. This source would not name the Justice officials or say whether Attorney General Eric Holder was among them. 
 
 The Justice Department followed long-standing policy by not revealing the investigation to anyone outside the department, such as White House or congressional aides, this official said. It would be inappropriate and unfair to do so, and it might jeopardize any potential prosecution, the official added. 
 
 As the investigation moved into the fall, the focus was potential cyber-harassment by one woman against another woman. 
 
 Petraeus was thought of by investigators as a potential witness or party to the investigation, but he was never a target of investigators. Prosecutors considered whether the conduct in question constituted a crime of cyber-harassment under the law. 
 
 During their interviews with investigators, Broadwell and Petraeus both admitted to the affair, the official said. After the interviews, prosecutors decided they likely would not bring charges, based on the available evidence. 
 
 Another U.S. government official said the FBI investigation into the emails was fairly straightforward and did not require obtaining court orders to monitor the email accounts of those involved, including the personal email account of Petraeus. Rather, the official said, investigators reviewed the emails that Kelley had brought to their attention. 
 
 "There wasn't a court order," the government official said, adding that that action would have been a last resort when other avenues had been exhausted. 
 
 A source close to the Petraeus family confirmed that Kelley, who is 37 according to published reports, and her husband, Scott Kelley, a Tampa cancer surgeon, became friends with Petraeus when he was stationed at MacDill from 2008 until 2010 as commander of the U.S. military's Central Command, which runs operations in the Middle East and South Asia. 
 
 The Kelleys later visited the Petraeuses in Washington while on a trip to visit relatives. 
 
 The Kelleys did not answer phone calls to the number listed for the family's mansion-style home on Tampa's exclusive Bayshore Boulevard, close to the military base. 
 
 The Kelleys made the VIP guest list at military functions at MacDill and also hosted Petraeus and his wife at their home in 2010, for the city's annual Gasparilla pirate parade, according to a report at the time in the Tampa Bay Times. 
 
 (Additional reporting by Mark Hosenball, Matt Spetalnick, David Adams and Tabassum Zakaria. Writing by David Alexander.; Editing by Warren Strobel and Christopher Wilson)
– Wow. We knew President Obama would be replacing plenty of key people, but not like this: CIA chief David Petraeus is resigning over an extramarital affair, reports NBC News. Details are still scarce, but Petraeus has submitted his letter of resignation, which begins: "Yesterday afternoon, I went to the White House and asked the President to be allowed, for personal reasons, to resign from my position as D/CIA. After being married for over 37 years, I showed extremely poor judgment by engaging in an extramarital affair. Such behavior is unacceptable, both as a husband and as the leader of an organization such as ours. This afternoon, the President graciously accepted my resignation." (Full text here.) Petraeus took over the CIA in 2011 after leading the wars in Iraq and Afghanistan, and Obama praised him today for his "extraordinary service," reports CNN. The president's statement didn't mention the scandal except to say that his “thoughts and prayers are with Dave and Holly Petraeus" at this "difficult time." Deputy CIA director Mike Morrell is expected to step in on an interim basis and may get the job permanently, says NBC. (Update: Slate is reporting that the "other woman" is Petraeus' biographer. Click for that.)