WASHINGTON -- Paula Broadwell, whose affair with the nation's C.I.A. director led to his resignation on Friday, was the valedictorian of her high school class and homecoming queen, a fitness champion at West Point with a graduate degree from Harvard, and a model for a machine gun manufacturer.
It may have been those qualities -- and a string of achievements that began in her native North Dakota, where she was state student council president, an all-state basketball player and orchestra concertmistress -- that drew the attention of David H. Petraeus, the nation's top spy and a four-star general, as the two spent hours together for a biography of Mr. Petraeus that Ms. Broadwell co-wrote.
Ms. Broadwell's name burst into public view on Friday evening after Mr. Petraeus resigned abruptly amid an F.B.I. investigation that uncovered evidence of their relationship.
But Ms. Broadwell was hardly shy about her interactions with Mr. Petraeus as she promoted her book, "All In: The Education of General David Petraeus," in media appearances earlier this year. She had unusual access, she noted in promotional appearances, taping many of her interviews for her book while running six-minute miles with Mr. Petraeus in the thin mountain air of the Afghan capital.
Ms. Broadwell said in an interview in February that Mr. Petraeus was enjoying his new civilian life at the C.I.A., where he became director in September 2011. "It was a huge growth period for him, because he realized he didn't have to hide behind the shield of all those medals and stripes on his arm," she said. Ms. Broadwell was 39 at the time.
Her biography on the Penguin Speakers Bureau Web site says that she is a research associate at Harvard's Center for Public Leadership and a Ph.D. candidate in the Department of War Studies at King's College London. She received a master's in public administration from Harvard's Kennedy School of Government.
A self-described "soccer mom" and an ironman triathlete, Ms. Broadwell became a fixture on the Washington media scene after the publication of her book about Mr. Petraeus, who is 60. In a Twitter message this summer, she bragged about appearing on a panel at the Aspen Institute, a policy group for deep thinkers.
"Heading 2 @AspenInstitute 4 the Security Forum tomorrow! Panel (media & terrorism) followed by a 1v1 run with Lance Armstrong," she wrote. "Fired up!"
On her Twitter account, she often commented on the qualities of leadership. "Reason and calm judgment, the qualities specially belonging to a leader. Tacitus," she wrote. In another message, she said: "A leader is a man who has the ability to get other people to do what they don't want to do and like it. Truman."
She also used her Twitter account to denounce speculation in the Drudge Report that Mr. Petraeus would be picked as a running mate by Mitt Romney, the Republican candidate for president.
Married with two children, she was described in a biography on the Web site of Inspired Women Magazine as a high achiever since high school.
The biography says that Ms. Broadwell received a degree in political geography and systems engineering from West Point, where she was ranked No. 1 over all in fitness in her class. She benefited from a different ranking scale for women, she told a reporter this year. But "I was still in the top 5 percent if I'd been ranked as a male," she said.
The official Web site for Ms. Broadwell's book was taken down Friday, but comments from her echoed across the Internet.
"I was driven when I was younger," she was quoted as saying on the Web site, noting her induction into her high school's hall of fame. "Driven at West Point where it was much more competitive in that women were competing with men on many levels, and I was driven in the military and at Harvard, both competitive environments."
"But now," she is quoted as saying, "as a working mother of two, I realize it is more difficult to compete in certain areas. I think it is important for working moms to recognize that family is the most important."
On "The Daily Show," Jon Stewart summed up Ms. Broadwell's book by saying: "I would say the real controversy here is, is he awesome or incredibly awesome?"A short time later, Ms. Broadwell challenged Mr. Stewart to a push-up contest, which she won handily. Mr. Stewart had to pay $1,000 to a veterans' support group for each push-up she did beyond his total. Ms. Broadwell said that he wrote a check for $20,000 on the spot.
On Friday evening, her house in the Dilworth neighborhood of Charlotte, N.C., was dark when a reporter rang the doorbell. Two cars were in the home's carport and an American flag was flying out front.
Viv Bernstein contributed reporting from Charlotte, N.C.nation
This article originally appeared in The New York Times.