Rielle Hunter says she’s sorry for her “wrong, selfish behavior,” offering a public apology for actions that led to the political downfall of former Democratic presidential candidate and Sen. John Edwards (D-N.C.) — on the same day her new book is being released.

In a Tuesday op-ed for The Huffington Post, Hunter — who famously had an affair with Edwards during his 2008 White House bid and gave birth to his now-5-year-old daughter — writes, “I behaved badly. That may seem obvious to you but it's taken me a long time to admit that, even to myself.”

Hunter, 49, explains, “For years I was so viciously attacked by the media and the world that I felt like a victim. I now realize that the attacks are actually beside the point. The point is: I behaved badly.”

She also admits inflicting pain on Edwards’s late wife, Elizabeth, who was battling cancer when news of the extramarital affair broke. Edwards died in 2010. 

“I hurt Elizabeth and her kids. I hurt her family. I hurt John's family. I hurt people that knew Elizabeth. I hurt people who didn't know Elizabeth but loved her from afar,” Hunter writes.

The former Edwards campaign videographer’s mea culpa comes on the same day a revised version of her 2012 book, What Really Happened: John Edwards, Our Daughter, and Me, hits store shelves. Hunter says it was her publisher’s idea to go through the original book and annotate her regrets and mistakes to create In Hindsight, What Really Happened: The Revised Edition.

Hunter concludes her Huffington Post piece saying she doesn’t want to pass on the “chain of pain” to her daughter, writing, “If I hurt you, I am sorry. It was not my intention, I was thoughtless and selfish, and I am sorry.”